Searched refs:ifp (Results 1 – 7 of 7) sorted by relevance
/net/ipv6/ |
D | addrconf.c | 155 static void addrconf_join_anycast(struct inet6_ifaddr *ifp); 156 static void addrconf_leave_anycast(struct inet6_ifaddr *ifp); 168 static void addrconf_dad_start(struct inet6_ifaddr *ifp); 170 static void addrconf_dad_completed(struct inet6_ifaddr *ifp, bool bump_id, 316 static void addrconf_del_dad_work(struct inet6_ifaddr *ifp) in addrconf_del_dad_work() argument 318 if (cancel_delayed_work(&ifp->dad_work)) in addrconf_del_dad_work() 319 __in6_ifa_put(ifp); in addrconf_del_dad_work() 329 static void addrconf_mod_dad_work(struct inet6_ifaddr *ifp, in addrconf_mod_dad_work() argument 332 in6_ifa_hold(ifp); in addrconf_mod_dad_work() 333 if (mod_delayed_work(addrconf_wq, &ifp->dad_work, delay)) in addrconf_mod_dad_work() [all …]
|
D | ndisc.c | 527 struct inet6_ifaddr *ifp; in ndisc_send_na() local 533 ifp = ipv6_get_ifaddr(dev_net(dev), solicited_addr, dev, 1); in ndisc_send_na() 534 if (ifp) { in ndisc_send_na() 536 if (ifp->flags & IFA_F_OPTIMISTIC) in ndisc_send_na() 538 inc_opt |= ifp->idev->cnf.force_tllao; in ndisc_send_na() 539 in6_ifa_put(ifp); in ndisc_send_na() 688 struct inet6_ifaddr *ifp = ipv6_get_ifaddr(dev_net(dev), saddr, in ndisc_send_rs() local 690 if (ifp) { in ndisc_send_rs() 691 if (ifp->flags & IFA_F_OPTIMISTIC) { in ndisc_send_rs() 694 in6_ifa_put(ifp); in ndisc_send_rs() [all …]
|
D | ip6_output.c | 1166 struct inet6_ifaddr *ifp; in ip6_dst_lookup_tail() local 1170 ifp = ipv6_get_ifaddr(net, &fl6->saddr, in ip6_dst_lookup_tail() 1173 redirect = (ifp && ifp->flags & IFA_F_OPTIMISTIC); in ip6_dst_lookup_tail() 1174 if (ifp) in ip6_dst_lookup_tail() 1175 in6_ifa_put(ifp); in ip6_dst_lookup_tail()
|
D | route.c | 4590 void rt6_remove_prefsrc(struct inet6_ifaddr *ifp) in rt6_remove_prefsrc() argument 4592 struct net *net = dev_net(ifp->idev->dev); in rt6_remove_prefsrc() 4594 .dev = ifp->idev->dev, in rt6_remove_prefsrc() 4596 .addr = &ifp->addr, in rt6_remove_prefsrc()
|
/net/core/ |
D | netpoll.c | 762 struct inet6_ifaddr *ifp; in netpoll_setup() local 765 list_for_each_entry(ifp, &idev->addr_list, if_list) { in netpoll_setup() 766 if (!!(ipv6_addr_type(&ifp->addr) & IPV6_ADDR_LINKLOCAL) != in netpoll_setup() 769 np->local_ip.in6 = ifp->addr; in netpoll_setup()
|
D | pktgen.c | 2195 struct inet6_ifaddr *ifp; in pktgen_setup_inject() local 2198 list_for_each_entry(ifp, &idev->addr_list, if_list) { in pktgen_setup_inject() 2199 if ((ifp->scope & IFA_LINK) && in pktgen_setup_inject() 2200 !(ifp->flags & IFA_F_TENTATIVE)) { in pktgen_setup_inject() 2201 pkt_dev->cur_in6_saddr = ifp->addr; in pktgen_setup_inject()
|
/net/sctp/ |
D | ipv6.c | 462 struct inet6_ifaddr *ifp; in sctp_v6_copy_addrlist() local 472 list_for_each_entry(ifp, &in6_dev->addr_list, if_list) { in sctp_v6_copy_addrlist() 477 addr->a.v6.sin6_addr = ifp->addr; in sctp_v6_copy_addrlist()
|