Searched refs:ifp (Results 1 – 7 of 7) sorted by relevance
/net/ipv6/ |
D | addrconf.c | 162 static void addrconf_join_anycast(struct inet6_ifaddr *ifp); 163 static void addrconf_leave_anycast(struct inet6_ifaddr *ifp); 175 static void addrconf_dad_start(struct inet6_ifaddr *ifp); 177 static void addrconf_dad_completed(struct inet6_ifaddr *ifp, bool bump_id, 309 static void addrconf_del_dad_work(struct inet6_ifaddr *ifp) in addrconf_del_dad_work() argument 311 if (cancel_delayed_work(&ifp->dad_work)) in addrconf_del_dad_work() 312 __in6_ifa_put(ifp); in addrconf_del_dad_work() 323 static void addrconf_mod_dad_work(struct inet6_ifaddr *ifp, in addrconf_mod_dad_work() argument 326 in6_ifa_hold(ifp); in addrconf_mod_dad_work() 327 if (mod_delayed_work(addrconf_wq, &ifp->dad_work, delay)) in addrconf_mod_dad_work() [all …]
|
D | ndisc.c | 522 struct inet6_ifaddr *ifp; in ndisc_send_na() local 528 ifp = ipv6_get_ifaddr(dev_net(dev), solicited_addr, dev, 1); in ndisc_send_na() 529 if (ifp) { in ndisc_send_na() 531 if (ifp->flags & IFA_F_OPTIMISTIC) in ndisc_send_na() 533 inc_opt |= ifp->idev->cnf.force_tllao; in ndisc_send_na() 534 in6_ifa_put(ifp); in ndisc_send_na() 668 struct inet6_ifaddr *ifp = ipv6_get_ifaddr(dev_net(dev), saddr, in ndisc_send_rs() local 670 if (ifp) { in ndisc_send_rs() 671 if (ifp->flags & IFA_F_OPTIMISTIC) { in ndisc_send_rs() 674 in6_ifa_put(ifp); in ndisc_send_rs() [all …]
|
D | ip6_output.c | 1075 struct inet6_ifaddr *ifp; in ip6_dst_lookup_tail() local 1079 ifp = ipv6_get_ifaddr(net, &fl6->saddr, in ip6_dst_lookup_tail() 1082 redirect = (ifp && ifp->flags & IFA_F_OPTIMISTIC); in ip6_dst_lookup_tail() 1083 if (ifp) in ip6_dst_lookup_tail() 1084 in6_ifa_put(ifp); in ip6_dst_lookup_tail()
|
D | route.c | 4429 void rt6_remove_prefsrc(struct inet6_ifaddr *ifp) in rt6_remove_prefsrc() argument 4431 struct net *net = dev_net(ifp->idev->dev); in rt6_remove_prefsrc() 4433 .dev = ifp->idev->dev, in rt6_remove_prefsrc() 4435 .addr = &ifp->addr, in rt6_remove_prefsrc()
|
/net/core/ |
D | netpoll.c | 723 struct inet6_ifaddr *ifp; in netpoll_setup() local 726 list_for_each_entry(ifp, &idev->addr_list, if_list) { in netpoll_setup() 727 if (!!(ipv6_addr_type(&ifp->addr) & IPV6_ADDR_LINKLOCAL) != in netpoll_setup() 730 np->local_ip.in6 = ifp->addr; in netpoll_setup()
|
D | pktgen.c | 2087 struct inet6_ifaddr *ifp; in pktgen_setup_inject() local 2090 list_for_each_entry(ifp, &idev->addr_list, if_list) { in pktgen_setup_inject() 2091 if ((ifp->scope & IFA_LINK) && in pktgen_setup_inject() 2092 !(ifp->flags & IFA_F_TENTATIVE)) { in pktgen_setup_inject() 2093 pkt_dev->cur_in6_saddr = ifp->addr; in pktgen_setup_inject()
|
/net/sctp/ |
D | ipv6.c | 406 struct inet6_ifaddr *ifp; in sctp_v6_copy_addrlist() local 416 list_for_each_entry(ifp, &in6_dev->addr_list, if_list) { in sctp_v6_copy_addrlist() 421 addr->a.v6.sin6_addr = ifp->addr; in sctp_v6_copy_addrlist()
|