tag | line | file | source code |
alias_info | 110 | include/linux/net_alias.h | return (dev->alias_info != NULL); |
alias_info | 151 | include/linux/net_alias.h | return (dev->alias_info)? dev->alias_info->taildev->next : dev->next; |
alias_info | 166 | include/linux/net_alias.h | pdev = dev->alias_info->taildev; /* point to last dev alias */ |
alias_info | 155 | include/linux/netdevice.h | struct net_alias_info *alias_info; /* main dev alias info */ |
alias_info | 65 | net/core/net_alias.c | static struct net_alias **net_alias_slow_findp(struct net_alias_info *alias_info, struct net_alias *alias); |
alias_info | 255 | net/core/net_alias.c | dev->alias_info = NULL; /* no aliasing recursion */ |
alias_info | 299 | net/core/net_alias.c | net_alias_slow_findp(struct net_alias_info *alias_info, struct net_alias *alias) |
alias_info | 308 | net/core/net_alias.c | n_aliases = alias_info->n_aliases; |
alias_info | 310 | net/core/net_alias.c | for (aliasp = &alias_info->hash_tab[idx];*aliasp;aliasp = &(*aliasp)->next) |
alias_info | 327 | net/core/net_alias.c | struct net_alias_info *alias_info; |
alias_info | 336 | net/core/net_alias.c | alias_info = main_dev->alias_info; |
alias_info | 373 | net/core/net_alias.c | if (!alias_info) |
alias_info | 375 | net/core/net_alias.c | alias_info = kmalloc(sizeof(struct net_alias_info), GFP_KERNEL); |
alias_info | 376 | net/core/net_alias.c | if (!alias_info) return NULL; /* ENOMEM */ |
alias_info | 377 | net/core/net_alias.c | memset(alias_info, 0, sizeof(struct net_alias_info)); |
alias_info | 430 | net/core/net_alias.c | aliasp = &alias_info->hash_tab[alias->hash]; |
alias_info | 438 | net/core/net_alias.c | if (!alias_info->n_aliases++) |
alias_info | 440 | net/core/net_alias.c | alias_info->taildev = main_dev; |
alias_info | 441 | net/core/net_alias.c | main_dev->alias_info = alias_info; |
alias_info | 448 | net/core/net_alias.c | dev->next = alias_info->taildev->next; |
alias_info | 449 | net/core/net_alias.c | alias_info->taildev->next = dev; |
alias_info | 450 | net/core/net_alias.c | alias_info->taildev = dev; |
alias_info | 463 | net/core/net_alias.c | struct net_alias_info *alias_info; |
alias_info | 480 | net/core/net_alias.c | alias_info = main_dev->alias_info; |
alias_info | 481 | net/core/net_alias.c | if (!alias_info) return NULL; /* ENODEV */ |
alias_info | 483 | net/core/net_alias.c | n_aliases = alias_info->n_aliases; |
alias_info | 510 | net/core/net_alias.c | for(aliasp = &alias_info->hash_tab[alias->hash]; *aliasp; aliasp = &(*aliasp)->next) |
alias_info | 518 | net/core/net_alias.c | if ((aliasp = net_alias_slow_findp(alias_info, alias))) |
alias_info | 541 | net/core/net_alias.c | if ( dev == alias_info->taildev ) |
alias_info | 542 | net/core/net_alias.c | alias_info->taildev = prevdev; |
alias_info | 556 | net/core/net_alias.c | if (--alias_info->n_aliases == 0) /* last alias */ |
alias_info | 557 | net/core/net_alias.c | main_dev->alias_info = NULL; |
alias_info | 565 | net/core/net_alias.c | if (main_dev->alias_info == NULL) |
alias_info | 566 | net/core/net_alias.c | kfree_s(alias_info, sizeof(struct net_alias_info)); |
alias_info | 584 | net/core/net_alias.c | struct net_alias_info *alias_info; |
alias_info | 594 | net/core/net_alias.c | if (!(alias_info = main_dev->alias_info)) return; |
alias_info | 605 | net/core/net_alias.c | main_dev->next = alias_info->taildev->next; |
alias_info | 606 | net/core/net_alias.c | main_dev->alias_info = NULL; |
alias_info | 607 | net/core/net_alias.c | alias_info->taildev->next = NULL; |
alias_info | 648 | net/core/net_alias.c | kfree_s(alias_info, sizeof(alias_info)); |
alias_info | 729 | net/core/net_alias.c | struct net_alias_info *alias_info; |
alias_info | 763 | net/core/net_alias.c | if (!(alias_info=main_dev->alias_info)) |
alias_info | 808 | net/core/net_alias.c | for (aliasp = &alias_info->hash_tab[alias->hash]; *aliasp; aliasp = &(*aliasp)->next) |
alias_info | 816 | net/core/net_alias.c | if ((aliasp = net_alias_slow_findp(alias_info, alias))) |
alias_info | 843 | net/core/net_alias.c | aliasp = &alias_info->hash_tab[n_hash]; |
alias_info | 982 | net/core/net_alias.c | dev->alias_info = 0; |
alias_info | 995 | net/core/net_alias.c | nat_addr_chk(struct net_alias_type *nat, struct net_alias_info *alias_info, struct sockaddr *sa, int flags_on, int flags_off) |
alias_info | 998 | net/core/net_alias.c | for(alias = alias_info->hash_tab[nat_hash_key(nat,sa)]; |
alias_info | 1020 | net/core/net_alias.c | nat_addr_chk32(struct net_alias_type *nat, struct net_alias_info *alias_info, int family, __u32 addr32, int flags_on, int flags_off) |
alias_info | 1023 | net/core/net_alias.c | for (alias=alias_info->hash_tab[HASH(addr32,family)]; |
alias_info | 1048 | net/core/net_alias.c | struct net_alias_info *alias_info = main_dev->alias_info; |
alias_info | 1055 | net/core/net_alias.c | if (!alias_info) return NULL; |
alias_info | 1065 | net/core/net_alias.c | return nat_addr_chk(nat, alias_info, sa, flags_on, flags_off); |
alias_info | 1077 | net/core/net_alias.c | struct net_alias_info *alias_info = main_dev->alias_info; |
alias_info | 1083 | net/core/net_alias.c | if (!alias_info) return NULL; |
alias_info | 1085 | net/core/net_alias.c | return nat_addr_chk32(NULL, alias_info, family, addr32, flags_on, flags_off); |
alias_info | 1101 | net/core/net_alias.c | struct net_alias_info *alias_info; |
alias_info | 1110 | net/core/net_alias.c | if ((alias_info = main_dev->alias_info) == NULL) |
alias_info | 1135 | net/core/net_alias.c | dev = nat_addr_chk(nat, alias_info, sa_dst, IFF_UP, 0); |
alias_info | 1172 | net/core/net_alias.c | struct net_alias_info *alias_info; |
alias_info | 1182 | net/core/net_alias.c | if ((alias_info = main_dev->alias_info) == NULL) |
alias_info | 1206 | net/core/net_alias.c | dev = nat_addr_chk32(nat, alias_info, family, dst, IFF_UP, 0); |