taglinefilesource code
main_dev47include/linux/net_alias.hstruct device *main_dev;  /* pointer to main device */
main_dev125include/linux/net_alias.hextern struct device * net_alias_dev_chk(struct device *main_dev, struct sockaddr *sa, int flags_on, int flags_off);
main_dev126include/linux/net_alias.hextern struct device * net_alias_dev_chk32(struct device *main_dev, int family, __u32 addr32, int flags_on, int flags_off);
main_dev128include/linux/net_alias.hextern struct device * net_alias_dev_rcv_sel(struct device *main_dev, struct sockaddr *sa_src, struct sockaddr *sa_dst);
main_dev129include/linux/net_alias.hextern struct device * net_alias_dev_rcv_sel32(struct device *main_dev, int family, __u32 src, __u32 dst);
main_dev139include/linux/net_alias.hreturn (net_alias_is(dev))? dev->my_alias->main_dev : dev;
main_dev74net/core/net_alias.cstatic struct device *net_alias_dev_create(struct device *main_dev, int slot, int *err, struct sockaddr *sa, void *data);
main_dev75net/core/net_alias.cstatic struct device *net_alias_dev_delete(struct device *main_dev, int slot, int *err);
main_dev246net/core/net_alias.cstruct device *main_dev;
main_dev258net/core/net_alias.cmain_dev = alias->main_dev;
main_dev261net/core/net_alias.cfamily = (sa)? sa->sa_family : main_dev->family;
main_dev266net/core/net_alias.cdev->type = main_dev->type;
main_dev267net/core/net_alias.cdev->hard_header_len = main_dev->hard_header_len;
main_dev268net/core/net_alias.cmemcpy(dev->broadcast, main_dev->broadcast, MAX_ADDR_LEN);
main_dev269net/core/net_alias.cmemcpy(dev->dev_addr, main_dev->dev_addr, MAX_ADDR_LEN);
main_dev270net/core/net_alias.cdev->addr_len = main_dev->addr_len;
main_dev273net/core/net_alias.cdev->flags = main_dev->flags & NET_ALIAS_IFF_MASK & ~IFF_UP;
main_dev279net/core/net_alias.cif (family == main_dev->family)
main_dev281net/core/net_alias.cdev->metric = main_dev->metric;
main_dev282net/core/net_alias.cdev->mtu = main_dev->mtu;
main_dev283net/core/net_alias.cdev->pa_alen = main_dev->pa_alen;
main_dev284net/core/net_alias.cdev->hard_header = main_dev->hard_header;
main_dev285net/core/net_alias.cdev->rebuild_header = main_dev->rebuild_header;
main_dev333net/core/net_alias.cnet_alias_dev_create(struct device *main_dev, int slot, int *err, struct sockaddr *sa, void *data)
main_dev344net/core/net_alias.calias_info = main_dev->alias_info;
main_dev350net/core/net_alias.cfamily = (sa)? sa->sa_family : main_dev->family;
main_dev367net/core/net_alias.cmain_dev->name, slot, family);
main_dev382net/core/net_alias.cif (! (main_dev->flags & IFF_UP) )
main_dev407net/core/net_alias.calias->main_dev = main_dev;
main_dev411net/core/net_alias.csprintf(alias->name, "%s:%d", main_dev->name, slot);
main_dev458net/core/net_alias.calias_info->taildev = main_dev;
main_dev459net/core/net_alias.cmain_dev->alias_info = alias_info;
main_dev479net/core/net_alias.cnet_alias_dev_delete(struct device *main_dev, int slot, int *err)
main_dev492net/core/net_alias.cif (main_dev == NULL) return NULL;
main_dev498net/core/net_alias.calias_info = main_dev->alias_info;
main_dev508net/core/net_alias.cfor (prevdev=main_dev, alias = NULL;prevdev->next && n_aliases; prevdev = prevdev->next)
main_dev575net/core/net_alias.cmain_dev->alias_info = NULL;
main_dev583net/core/net_alias.cif (main_dev->alias_info == NULL)
main_dev600net/core/net_alias.cnet_alias_free(struct device *main_dev)
main_dev612net/core/net_alias.cif (!(alias_info = main_dev->alias_info))    return;
main_dev622net/core/net_alias.cdev =  main_dev->next;
main_dev623net/core/net_alias.cmain_dev->next = alias_info->taildev->next;
main_dev624net/core/net_alias.cmain_dev->alias_info = NULL;
main_dev638net/core/net_alias.cif (alias->main_dev == main_dev)
main_dev658net/core/net_alias.cmain_dev->name, alias->name);
main_dev662net/core/net_alias.cmain_dev->name);
main_dev749net/core/net_alias.cstruct device *main_dev;
main_dev771net/core/net_alias.cif ( (main_dev = alias->main_dev) == NULL )
main_dev781net/core/net_alias.cif (!(alias_info=main_dev->alias_info))
main_dev1064net/core/net_alias.cnet_alias_dev_chk(struct device *main_dev, struct sockaddr *sa,int flags_on, int flags_off)
main_dev1066net/core/net_alias.cstruct net_alias_info *alias_info = main_dev->alias_info;
main_dev1092net/core/net_alias.cnet_alias_dev_chk32(struct device *main_dev, int family, __u32 addr32,
main_dev1095net/core/net_alias.cstruct net_alias_info *alias_info = main_dev->alias_info;
main_dev1115net/core/net_alias.cnet_alias_dev_rcv_sel(struct device *main_dev, struct sockaddr *sa_src, struct sockaddr *sa_dst)
main_dev1122net/core/net_alias.cif (main_dev == NULL) return NULL;
main_dev1128net/core/net_alias.cif ((alias_info = main_dev->alias_info) == NULL)
main_dev1129net/core/net_alias.creturn main_dev;
main_dev1136net/core/net_alias.cif (family == AF_UNSPEC) return main_dev;
main_dev1142net/core/net_alias.cif ( (nat = nat_getbytype(family)) == NULL ) return main_dev;
main_dev1150net/core/net_alias.cif (nat_dev_addr_chk_1(nat, main_dev,sa_dst))
main_dev1151net/core/net_alias.creturn main_dev;
main_dev1162net/core/net_alias.cif ( sa_src == NULL || nat->dev_select == NULL) return main_dev;
main_dev1163net/core/net_alias.cdev = nat->dev_select(nat, main_dev, sa_src);
main_dev1165net/core/net_alias.cif (dev == NULL || dev->family != family) return main_dev;
main_dev1172net/core/net_alias.c( (dev->my_alias->main_dev == main_dev)? dev : NULL) : NULL;
main_dev1178net/core/net_alias.creturn (dev)? dev : main_dev;
main_dev1187net/core/net_alias.cnet_alias_dev_rcv_sel32(struct device *main_dev, int family, __u32 src, __u32 dst)
main_dev1194net/core/net_alias.cif (main_dev == NULL) return NULL;
main_dev1200net/core/net_alias.cif ((alias_info = main_dev->alias_info) == NULL)
main_dev1201net/core/net_alias.creturn main_dev;
main_dev1207net/core/net_alias.cif (dst == main_dev->pa_addr)
main_dev1208net/core/net_alias.creturn main_dev;
main_dev1210net/core/net_alias.cif (family == AF_UNSPEC) return main_dev;
main_dev1216net/core/net_alias.cif ( (nat = nat_getbytype(family)) == NULL ) return main_dev;
main_dev1232net/core/net_alias.cif ( src == 0 || nat->dev_select == NULL) return main_dev;
main_dev1237net/core/net_alias.cdev = nat->dev_select(nat, main_dev, (struct sockaddr *)&sin_src);
main_dev1239net/core/net_alias.cif (dev == NULL || dev->family != family) return main_dev;
main_dev1246net/core/net_alias.c( (dev->my_alias->main_dev == main_dev)? dev : NULL) : NULL;
main_dev1252net/core/net_alias.creturn (dev)? dev : main_dev;
main_dev79net/ipv4/ip_alias.cstruct device *ip_alias_dev_select(struct net_alias_type *this, struct device *main_dev, struct sockaddr *sa)
main_dev89net/ipv4/ip_alias.cif (main_dev == NULL)