Searched refs:ifp (Results 1 – 7 of 7) sorted by relevance
/net/ipv6/ |
D | addrconf.c | 165 static void addrconf_join_anycast(struct inet6_ifaddr *ifp); 166 static void addrconf_leave_anycast(struct inet6_ifaddr *ifp); 177 static void addrconf_dad_start(struct inet6_ifaddr *ifp); 179 static void addrconf_dad_completed(struct inet6_ifaddr *ifp); 284 static void addrconf_del_dad_work(struct inet6_ifaddr *ifp) in addrconf_del_dad_work() argument 286 if (cancel_delayed_work(&ifp->dad_work)) in addrconf_del_dad_work() 287 __in6_ifa_put(ifp); in addrconf_del_dad_work() 298 static void addrconf_mod_dad_work(struct inet6_ifaddr *ifp, in addrconf_mod_dad_work() argument 301 in6_ifa_hold(ifp); in addrconf_mod_dad_work() 302 if (mod_delayed_work(addrconf_wq, &ifp->dad_work, delay)) in addrconf_mod_dad_work() [all …]
|
D | ndisc.c | 474 struct inet6_ifaddr *ifp; in ndisc_send_na() local 480 ifp = ipv6_get_ifaddr(dev_net(dev), solicited_addr, dev, 1); in ndisc_send_na() 481 if (ifp) { in ndisc_send_na() 483 if (ifp->flags & IFA_F_OPTIMISTIC) in ndisc_send_na() 485 inc_opt |= ifp->idev->cnf.force_tllao; in ndisc_send_na() 486 in6_ifa_put(ifp); in ndisc_send_na() 603 struct inet6_ifaddr *ifp = ipv6_get_ifaddr(dev_net(dev), saddr, in ndisc_send_rs() local 605 if (ifp) { in ndisc_send_rs() 606 if (ifp->flags & IFA_F_OPTIMISTIC) { in ndisc_send_rs() 609 in6_ifa_put(ifp); in ndisc_send_rs() [all …]
|
D | ip6_output.c | 938 struct inet6_ifaddr *ifp; in ip6_dst_lookup_tail() local 942 ifp = ipv6_get_ifaddr(net, &fl6->saddr, in ip6_dst_lookup_tail() 945 redirect = (ifp && ifp->flags & IFA_F_OPTIMISTIC); in ip6_dst_lookup_tail() 946 if (ifp) in ip6_dst_lookup_tail() 947 in6_ifa_put(ifp); in ip6_dst_lookup_tail()
|
D | route.c | 2210 void rt6_remove_prefsrc(struct inet6_ifaddr *ifp) in rt6_remove_prefsrc() argument 2212 struct net *net = dev_net(ifp->idev->dev); in rt6_remove_prefsrc() 2214 .dev = ifp->idev->dev, in rt6_remove_prefsrc() 2216 .addr = &ifp->addr, in rt6_remove_prefsrc()
|
/net/core/ |
D | netpoll.c | 734 struct inet6_ifaddr *ifp; in netpoll_setup() local 737 list_for_each_entry(ifp, &idev->addr_list, if_list) { in netpoll_setup() 738 if (ipv6_addr_type(&ifp->addr) & IPV6_ADDR_LINKLOCAL) in netpoll_setup() 740 np->local_ip.in6 = ifp->addr; in netpoll_setup()
|
D | pktgen.c | 2127 struct inet6_ifaddr *ifp; in pktgen_setup_inject() local 2130 list_for_each_entry(ifp, &idev->addr_list, if_list) { in pktgen_setup_inject() 2131 if ((ifp->scope & IFA_LINK) && in pktgen_setup_inject() 2132 !(ifp->flags & IFA_F_TENTATIVE)) { in pktgen_setup_inject() 2133 pkt_dev->cur_in6_saddr = ifp->addr; in pktgen_setup_inject()
|
/net/sctp/ |
D | ipv6.c | 394 struct inet6_ifaddr *ifp; in sctp_v6_copy_addrlist() local 404 list_for_each_entry(ifp, &in6_dev->addr_list, if_list) { in sctp_v6_copy_addrlist() 410 addr->a.v6.sin6_addr = ifp->addr; in sctp_v6_copy_addrlist()
|