Searched refs:ND_IFINFO (Results 1 – 13 of 13) sorted by relevance
340 nd6_setmtu0(ifp, ND_IFINFO(ifp)); in nd6_setmtu()778 ndi = ND_IFINFO(ifp); in nd6_llinfo_timer()1622 ND.maxmtu = ND_IFINFO(ifp)->maxmtu; in nd6_ioctl()1625 ND.retrans = ND_IFINFO(ifp)->retrans; in nd6_ioctl()1626 ND.flags = ND_IFINFO(ifp)->flags; in nd6_ioctl()1628 ND.chlim = ND_IFINFO(ifp)->chlim; in nd6_ioctl()1631 ND = *ND_IFINFO(ifp); in nd6_ioctl()1653 ND_IFINFO(ifp)->reachable = in nd6_ioctl()1659 ND_IFINFO(ifp)->chlim = ND.chlim; in nd6_ioctl()1750 ND_IFINFO(ifp)->flags = ND.flags; in nd6_ioctl()[all …]
101 #define ND_IFINFO(ifp) \ macro104 ((ND_IFINFO(ifp)->linkmtu && ND_IFINFO(ifp)->linkmtu < (ifp)->if_mtu) \105 ? ND_IFINFO(ifp)->linkmtu \106 : ((ND_IFINFO(ifp)->maxmtu && ND_IFINFO(ifp)->maxmtu < (ifp)->if_mtu) \107 ? ND_IFINFO(ifp)->maxmtu : (ifp)->if_mtu))
692 ND_IFINFO(ifp)->flags &= ~ND6_IFF_AUTO_LINKLOCAL; in in6_ifattach()693 ND_IFINFO(ifp)->flags |= ND6_IFF_NO_DAD; in in6_ifattach()726 if (!(ND_IFINFO(ifp)->flags & ND6_IFF_IFDISABLED) && in in6_ifattach()727 ND_IFINFO(ifp)->flags & ND6_IFF_AUTO_LINKLOCAL) { in in6_ifattach()809 struct nd_ifinfo *ndi = ND_IFINFO(ifp); in in6_get_tmpifid()845 ndi = ND_IFINFO(ifp); in in6_tmpaddrtimer()
165 if (ND_IFINFO(ifp)->flags & ND6_IFF_ACCEPT_RTADV && V_ip6_norbit_raif) in nd6_ns_input()883 (ND_IFINFO(nd6_ifp)->flags & in nd6_na_input()1261 (ND_IFINFO(ifa->ifa_ifp)->flags & ND6_IFF_NO_DAD) != 0) { in nd6_dad_start()1267 (ND_IFINFO(ifa->ifa_ifp)->flags & ND6_IFF_IFDISABLED) != 0) in nd6_dad_start()1349 if (ND_IFINFO(ifp)->flags & ND6_IFF_IFDISABLED) { in nd6_dad_timer()1386 (long)ND_IFINFO(ifa->ifa_ifp)->retrans * hz / 1000, 1); in nd6_dad_timer()1417 (long)ND_IFINFO(ifa->ifa_ifp)->retrans * hz / 1000, in nd6_dad_timer()1427 if ((ND_IFINFO(ifp)->flags & ND6_IFF_IFDISABLED) == 0) in nd6_dad_timer()1493 ND_IFINFO(ifp)->flags |= ND6_IFF_IFDISABLED; in nd6_dad_duplicated()
170 if (!V_ip6_forwarding || ND_IFINFO(ifp)->flags & ND6_IFF_ACCEPT_RTADV) in nd6_rs_input()272 ipv6_only_old = ND_IFINFO(ifp)->flags & ND6_IFF_IPV6_ONLY; in defrtr_ipv6_only_ifp()309 ND_IFINFO(ifp)->flags |= ND6_IFF_IPV6_ONLY; in defrtr_ipv6_only_ifp()311 ND_IFINFO(ifp)->flags &= ~ND6_IFF_IPV6_ONLY; in defrtr_ipv6_only_ifp()324 ND_IFINFO(ifp)->flags &= ~ND6_IFF_IPV6_ONLY; in defrtr_ipv6_only_ipf_down()370 ndi = ND_IFINFO(ifp); in nd6_ra_input()762 if (ND_IFINFO(dr->ifp)->flags & ND6_IFF_ACCEPT_RTADV) in defrouter_del()
384 if (!(ND_IFINFO(ifp)->flags & ND6_IFF_NO_PREFER_IFACE)) { in in6_selectsrc()914 return (ND_IFINFO(ifp)->chlim); in in6_selecthlim()925 hlim = ND_IFINFO(nh->nh_ifp)->chlim; in in6_selecthlim()
680 if (ND_IFINFO(ifp)->flags & ND6_IFF_IFDISABLED) { in in6_control()684 nd.ndi.flags = ND_IFINFO(ifp)->flags; in in6_control()1176 (hostIsNew || (ND_IFINFO(ifp)->flags & ND6_IFF_IFDISABLED))) in in6_update_ifa_internal()1613 if (ND_IFINFO(ifp)->flags & ND6_IFF_IFDISABLED) in in6ifa_llaonifp()2008 if ((ND_IFINFO(ifp)->flags & in in6if_do_dad()
549 if ((ND_IFINFO(rcvif)->flags & ND6_IFF_IFDISABLED)) in ip6_input()
2112 hlim = ND_IFINFO(m->m_pkthdr.rcvif)->chlim; in icmp6_reflect()
2971 (ND_IFINFO(ifp)->flags & ND6_IFF_IFDISABLED) != 0)) in ip6_setpktopt()
490 if ((ND_IFINFO(ifp)->flags & ND6_IFF_IPV6_ONLY_MASK) != 0) { in ether_output_frame()552 if ((ND_IFINFO(ifp)->flags & ND6_IFF_IPV6_ONLY_MASK) != 0) { in ether_input_internal()
4596 if (ND_IFINFO(ifp)->linkmtu && in sctp_lowlevel_chunk_output()4597 (stcb->asoc.smallest_mtu > ND_IFINFO(ifp)->linkmtu)) { in sctp_lowlevel_chunk_output()4600 ND_IFINFO(ifp)->linkmtu); in sctp_lowlevel_chunk_output()