Lines Matching refs:in_ifaddr
131 static void inet_hash_insert(struct net *net, struct in_ifaddr *ifa) in inet_hash_insert()
139 static void inet_hash_remove(struct in_ifaddr *ifa) in inet_hash_remove()
156 struct in_ifaddr *ifa; in __ip_dev_find()
184 struct in_ifaddr *inet_lookup_ifaddr_rcu(struct net *net, __be32 addr) in inet_lookup_ifaddr_rcu()
187 struct in_ifaddr *ifa; in inet_lookup_ifaddr_rcu()
197 static void rtmsg_ifa(int event, struct in_ifaddr *, struct nlmsghdr *, u32);
202 struct in_ifaddr __rcu **ifap,
219 static struct in_ifaddr *inet_alloc_ifa(struct in_device *in_dev) in inet_alloc_ifa()
221 struct in_ifaddr *ifa; in inet_alloc_ifa()
237 struct in_ifaddr *ifa = container_of(head, struct in_ifaddr, rcu_head); in inet_rcu_free_ifa()
243 static void inet_free_ifa(struct in_ifaddr *ifa) in inet_free_ifa()
328 struct in_ifaddr *ifa; in inetdev_destroy()
367 const struct in_ifaddr *ifa; in inet_addr_onlink()
383 struct in_ifaddr __rcu **ifap, in __inet_del_ifa()
386 struct in_ifaddr *promote = NULL; in __inet_del_ifa()
387 struct in_ifaddr *ifa, *ifa1; in __inet_del_ifa()
388 struct in_ifaddr __rcu **last_prim; in __inet_del_ifa()
389 struct in_ifaddr *prev_prom = NULL; in __inet_del_ifa()
404 struct in_ifaddr __rcu **ifap1 = &ifa1->ifa_next; in __inet_del_ifa()
465 struct in_ifaddr *next_sec; in __inet_del_ifa()
469 struct in_ifaddr *last_sec; in __inet_del_ifa()
496 struct in_ifaddr __rcu **ifap, in inet_del_ifa()
506 static int __inet_insert_ifa(struct in_ifaddr *ifa, struct nlmsghdr *nlh, in __inet_insert_ifa()
509 struct in_ifaddr __rcu **last_primary, **ifap; in __inet_insert_ifa()
512 struct in_ifaddr *ifa1; in __inet_insert_ifa()
591 static int inet_insert_ifa(struct in_ifaddr *ifa) in inet_insert_ifa()
596 static int inet_set_ifa(struct net_device *dev, struct in_ifaddr *ifa) in inet_set_ifa()
629 struct in_ifaddr *inet_ifa_byprefix(struct in_device *in_dev, __be32 prefix, in inet_ifa_byprefix()
632 struct in_ifaddr *ifa; in inet_ifa_byprefix()
644 const struct in_ifaddr *ifa) in ip_mc_autojoin_config()
673 struct in_ifaddr __rcu **ifap; in inet_rtm_deladdr()
677 struct in_ifaddr *ifa; in inet_rtm_deladdr()
724 struct in_ifaddr *ifa; in check_lifetime()
785 struct in_ifaddr __rcu **ifap; in check_lifetime()
786 struct in_ifaddr *tmp; in check_lifetime()
826 static void set_ifa_lifetime(struct in_ifaddr *ifa, __u32 valid_lft, in set_ifa_lifetime()
852 static struct in_ifaddr *rtm_to_ifaddr(struct net *net, struct nlmsghdr *nlh, in rtm_to_ifaddr()
857 struct in_ifaddr *ifa; in rtm_to_ifaddr()
950 static struct in_ifaddr *find_matching_ifa(struct in_ifaddr *ifa) in find_matching_ifa()
953 struct in_ifaddr *ifa1; in find_matching_ifa()
971 struct in_ifaddr *ifa; in inet_rtm_newaddr()
972 struct in_ifaddr *ifa_existing; in inet_rtm_newaddr()
1058 struct in_ifaddr __rcu **ifap = NULL; in devinet_ioctl()
1060 struct in_ifaddr *ifa = NULL; in devinet_ioctl()
1297 const struct in_ifaddr *ifa; in inet_gifconf()
1335 const struct in_ifaddr *ifa; in in_dev_select_addr()
1350 const struct in_ifaddr *ifa; in inet_select_addr()
1422 const struct in_ifaddr *ifa; in confirm_addr_indev()
1528 struct in_ifaddr *ifa; in inetdev_changename()
1556 const struct in_ifaddr *ifa; in inetdev_send_gratuitous_arp()
1602 struct in_ifaddr *ifa = inet_alloc_ifa(in_dev); in inetdev_event()
1694 static int inet_fill_ifaddr(struct sk_buff *skb, const struct in_ifaddr *ifa, in inet_fill_ifaddr()
1833 struct in_ifaddr *ifa; in in_dev_dump_addr()
1932 static void rtmsg_ifa(int event, struct in_ifaddr *ifa, struct nlmsghdr *nlh, in rtmsg_ifa()