Lines Matching refs:ifp
583 struct inet6_ifaddr *ifp; in ndisc_send_na() local
590 ifp = ipv6_get_ifaddr(dev_net(dev), solicited_addr, dev, 1); in ndisc_send_na()
591 if (ifp) { in ndisc_send_na()
593 if (ifp->flags & IFA_F_OPTIMISTIC) in ndisc_send_na()
595 inc_opt |= ifp->idev->cnf.force_tllao; in ndisc_send_na()
596 in6_ifa_put(ifp); in ndisc_send_na()
653 struct inet6_ifaddr *ifp = ipv6_get_ifaddr(dev_net(dev), saddr, in ndisc_send_rs() local
655 if (ifp) { in ndisc_send_rs()
656 if (ifp->flags & IFA_F_OPTIMISTIC) { in ndisc_send_rs()
659 in6_ifa_put(ifp); in ndisc_send_rs()
735 struct inet6_ifaddr *ifp; in ndisc_recv_ns() local
790 ifp = ipv6_get_ifaddr(dev_net(dev), &msg->target, dev, 1); in ndisc_recv_ns()
791 if (ifp) { in ndisc_recv_ns()
793 if (ifp->flags & (IFA_F_TENTATIVE|IFA_F_OPTIMISTIC)) { in ndisc_recv_ns()
814 addrconf_dad_failure(ifp); in ndisc_recv_ns()
823 if (!(ifp->flags & IFA_F_OPTIMISTIC)) in ndisc_recv_ns()
828 idev = ifp->idev; in ndisc_recv_ns()
867 is_router, 0, (ifp != NULL), 1); in ndisc_recv_ns()
889 1, (ifp != NULL && inc), inc); in ndisc_recv_ns()
895 if (ifp) in ndisc_recv_ns()
896 in6_ifa_put(ifp); in ndisc_recv_ns()
911 struct inet6_ifaddr *ifp; in ndisc_recv_na() local
946 ifp = ipv6_get_ifaddr(dev_net(dev), &msg->target, dev, 1); in ndisc_recv_na()
947 if (ifp) { in ndisc_recv_na()
948 if (ifp->flags & IFA_F_TENTATIVE) { in ndisc_recv_na()
949 addrconf_dad_failure(ifp); in ndisc_recv_na()
964 &ifp->addr, ifp->idev->dev->name); in ndisc_recv_na()
965 in6_ifa_put(ifp); in ndisc_recv_na()