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 | 160 | include/linux/netdevice.h | struct net_alias_info *alias_info; /* main dev alias info */ |
alias_info | 73 | 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 | 263 | net/core/net_alias.c | dev->alias_info = NULL; /* no aliasing recursion */ |
alias_info | 307 | net/core/net_alias.c | net_alias_slow_findp(struct net_alias_info *alias_info, struct net_alias *alias) |
alias_info | 316 | net/core/net_alias.c | n_aliases = alias_info->n_aliases; |
alias_info | 318 | net/core/net_alias.c | for (aliasp = &alias_info->hash_tab[idx];*aliasp;aliasp = &(*aliasp)->next) |
alias_info | 335 | net/core/net_alias.c | struct net_alias_info *alias_info; |
alias_info | 344 | net/core/net_alias.c | alias_info = main_dev->alias_info; |
alias_info | 391 | net/core/net_alias.c | if (!alias_info) |
alias_info | 393 | net/core/net_alias.c | alias_info = kmalloc(sizeof(struct net_alias_info), GFP_KERNEL); |
alias_info | 394 | net/core/net_alias.c | if (!alias_info) return NULL; /* ENOMEM */ |
alias_info | 395 | net/core/net_alias.c | memset(alias_info, 0, sizeof(struct net_alias_info)); |
alias_info | 448 | net/core/net_alias.c | aliasp = &alias_info->hash_tab[alias->hash]; |
alias_info | 456 | net/core/net_alias.c | if (!alias_info->n_aliases++) |
alias_info | 458 | net/core/net_alias.c | alias_info->taildev = main_dev; |
alias_info | 459 | net/core/net_alias.c | main_dev->alias_info = alias_info; |
alias_info | 466 | net/core/net_alias.c | dev->next = alias_info->taildev->next; |
alias_info | 467 | net/core/net_alias.c | alias_info->taildev->next = dev; |
alias_info | 468 | net/core/net_alias.c | alias_info->taildev = dev; |
alias_info | 481 | net/core/net_alias.c | struct net_alias_info *alias_info; |
alias_info | 498 | net/core/net_alias.c | alias_info = main_dev->alias_info; |
alias_info | 499 | net/core/net_alias.c | if (!alias_info) return NULL; /* ENODEV */ |
alias_info | 501 | net/core/net_alias.c | n_aliases = alias_info->n_aliases; |
alias_info | 528 | net/core/net_alias.c | for(aliasp = &alias_info->hash_tab[alias->hash]; *aliasp; aliasp = &(*aliasp)->next) |
alias_info | 536 | net/core/net_alias.c | if ((aliasp = net_alias_slow_findp(alias_info, alias))) |
alias_info | 559 | net/core/net_alias.c | if ( dev == alias_info->taildev ) |
alias_info | 560 | net/core/net_alias.c | alias_info->taildev = prevdev; |
alias_info | 574 | net/core/net_alias.c | if (--alias_info->n_aliases == 0) /* last alias */ |
alias_info | 575 | net/core/net_alias.c | main_dev->alias_info = NULL; |
alias_info | 583 | net/core/net_alias.c | if (main_dev->alias_info == NULL) |
alias_info | 584 | net/core/net_alias.c | kfree_s(alias_info, sizeof(struct net_alias_info)); |
alias_info | 602 | net/core/net_alias.c | struct net_alias_info *alias_info; |
alias_info | 612 | net/core/net_alias.c | if (!(alias_info = main_dev->alias_info)) return; |
alias_info | 623 | net/core/net_alias.c | main_dev->next = alias_info->taildev->next; |
alias_info | 624 | net/core/net_alias.c | main_dev->alias_info = NULL; |
alias_info | 625 | net/core/net_alias.c | alias_info->taildev->next = NULL; |
alias_info | 666 | net/core/net_alias.c | kfree_s(alias_info, sizeof(alias_info)); |
alias_info | 747 | net/core/net_alias.c | struct net_alias_info *alias_info; |
alias_info | 781 | net/core/net_alias.c | if (!(alias_info=main_dev->alias_info)) |
alias_info | 826 | net/core/net_alias.c | for (aliasp = &alias_info->hash_tab[alias->hash]; *aliasp; aliasp = &(*aliasp)->next) |
alias_info | 834 | net/core/net_alias.c | if ((aliasp = net_alias_slow_findp(alias_info, alias))) |
alias_info | 861 | net/core/net_alias.c | aliasp = &alias_info->hash_tab[n_hash]; |
alias_info | 1000 | net/core/net_alias.c | dev->alias_info = 0; |
alias_info | 1013 | 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 | 1016 | net/core/net_alias.c | for(alias = alias_info->hash_tab[nat_hash_key(nat,sa)]; |
alias_info | 1038 | 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 | 1041 | net/core/net_alias.c | for (alias=alias_info->hash_tab[HASH(addr32,family)]; |
alias_info | 1066 | net/core/net_alias.c | struct net_alias_info *alias_info = main_dev->alias_info; |
alias_info | 1073 | net/core/net_alias.c | if (!alias_info) return NULL; |
alias_info | 1083 | net/core/net_alias.c | return nat_addr_chk(nat, alias_info, sa, flags_on, flags_off); |
alias_info | 1095 | net/core/net_alias.c | struct net_alias_info *alias_info = main_dev->alias_info; |
alias_info | 1101 | net/core/net_alias.c | if (!alias_info) return NULL; |
alias_info | 1103 | net/core/net_alias.c | return nat_addr_chk32(NULL, alias_info, family, addr32, flags_on, flags_off); |
alias_info | 1119 | net/core/net_alias.c | struct net_alias_info *alias_info; |
alias_info | 1128 | net/core/net_alias.c | if ((alias_info = main_dev->alias_info) == NULL) |
alias_info | 1153 | net/core/net_alias.c | dev = nat_addr_chk(nat, alias_info, sa_dst, IFF_UP, 0); |
alias_info | 1190 | net/core/net_alias.c | struct net_alias_info *alias_info; |
alias_info | 1200 | net/core/net_alias.c | if ((alias_info = main_dev->alias_info) == NULL) |
alias_info | 1224 | net/core/net_alias.c | dev = nat_addr_chk32(nat, alias_info, family, dst, IFF_UP, 0); |