Home
last modified time | relevance | path

Searched refs:ND_IFINFO (Results 1 – 13 of 13) sorted by relevance

/freebsd/sys/netinet6/
H A Dnd6.c359 nd6_setmtu0(ifp, ND_IFINFO(ifp)); in nd6_setmtu()
715 delay = (long)ND_IFINFO(ifp)->retrans * hz / 1000; in nd6_llinfo_setstate()
720 delay = (long)ND_IFINFO(ifp)->reachable * hz; in nd6_llinfo_setstate()
791 ndi = ND_IFINFO(ifp); in nd6_llinfo_timer()
1028 if ((ND_IFINFO(ifp)->flags & ND6_IFF_NO_DAD) == 0 && in nd6_timer()
1031 (ND_IFINFO(ifp)->flags & ND6_IFF_IFDISABLED) != 0)){ in nd6_timer()
1199 if (ND_IFINFO(ifp)->flags & ND6_IFF_ACCEPT_RTADV) { in nd6_purge()
1325 if (ND_IFINFO(ifp)->flags & ND6_IFF_ACCEPT_RTADV && in nd6_is_new_addr_neighbor()
1449 if ((ND_IFINFO(ifp)->flags & ND6_IFF_ACCEPT_RTADV) != 0) in nd6_free()
1466 if (ND_IFINFO(ifp)->flags & ND6_IFF_ACCEPT_RTADV) { in nd6_free()
[all …]
H A Dnd6.h100 #define ND_IFINFO(ifp) \ macro
103 ((ND_IFINFO(ifp)->linkmtu && ND_IFINFO(ifp)->linkmtu < (ifp)->if_mtu) \
104 ? ND_IFINFO(ifp)->linkmtu \
105 : ((ND_IFINFO(ifp)->maxmtu && ND_IFINFO(ifp)->maxmtu < (ifp)->if_mtu) \
106 ? ND_IFINFO(ifp)->maxmtu : (ifp)->if_mtu))
H A Din6_ifattach.c690 ND_IFINFO(ifp)->flags &= ~ND6_IFF_AUTO_LINKLOCAL; in in6_ifattach()
691 ND_IFINFO(ifp)->flags |= ND6_IFF_NO_DAD; in in6_ifattach()
722 if (!(ND_IFINFO(ifp)->flags & ND6_IFF_IFDISABLED) && in in6_ifattach()
723 ND_IFINFO(ifp)->flags & ND6_IFF_AUTO_LINKLOCAL) { in in6_ifattach()
805 struct nd_ifinfo *ndi = ND_IFINFO(ifp); in in6_get_tmpifid()
843 ndi = ND_IFINFO(ifp); in in6_tmpaddrtimer()
H A Dnd6_nbr.c174 if (ND_IFINFO(ifp)->flags & ND6_IFF_ACCEPT_RTADV && V_ip6_norbit_raif) in nd6_ns_input()
919 (ND_IFINFO(nd6_ifp)->flags & in nd6_na_input()
1295 (ND_IFINFO(ifa->ifa_ifp)->flags & ND6_IFF_NO_DAD) != 0) { in nd6_dad_start()
1301 (ND_IFINFO(ifa->ifa_ifp)->flags & ND6_IFF_IFDISABLED) != 0) in nd6_dad_start()
1391 if (ND_IFINFO(ifp)->flags & ND6_IFF_IFDISABLED) { in nd6_dad_timer()
1428 (long)ND_IFINFO(ifa->ifa_ifp)->retrans * hz / 1000); in nd6_dad_timer()
1460 (long)ND_IFINFO(ifa->ifa_ifp)->retrans * hz / 1000); in nd6_dad_timer()
1470 if ((ND_IFINFO(ifp)->flags & ND6_IFF_IFDISABLED) == 0) in nd6_dad_timer()
1537 ND_IFINFO(ifp)->flags |= ND6_IFF_IFDISABLED; in nd6_dad_duplicated()
H A Dnd6_rtr.c173 if (!V_ip6_forwarding || ND_IFINFO(ifp)->flags & ND6_IFF_ACCEPT_RTADV) in nd6_rs_input()
275 ipv6_only_old = ND_IFINFO(ifp)->flags & ND6_IFF_IPV6_ONLY; in defrtr_ipv6_only_ifp()
312 ND_IFINFO(ifp)->flags |= ND6_IFF_IPV6_ONLY; in defrtr_ipv6_only_ifp()
314 ND_IFINFO(ifp)->flags &= ~ND6_IFF_IPV6_ONLY; in defrtr_ipv6_only_ifp()
327 ND_IFINFO(ifp)->flags &= ~ND6_IFF_IPV6_ONLY; in defrtr_ipv6_only_ipf_down()
373 ndi = ND_IFINFO(ifp); in nd6_ra_input()
751 if (ND_IFINFO(dr->ifp)->flags & ND6_IFF_ACCEPT_RTADV) in defrouter_del()
H A Din6_src.c378 if (!(ND_IFINFO(ifp)->flags & ND6_IFF_NO_PREFER_IFACE)) { in in6_selectsrc()
848 return (ND_IFINFO(ifp)->chlim); in in6_selecthlim()
859 hlim = ND_IFINFO(nh->nh_ifp)->chlim; in in6_selecthlim()
H A Din6.c1093 (hostIsNew || (ND_IFINFO(ifp)->flags & ND6_IFF_IFDISABLED))) in in6_update_ifa_internal()
1351 if (ND_IFINFO(ifp)->flags & ND6_IFF_IFDISABLED) { in in6_addifaddr()
1355 nd.ndi.flags = ND_IFINFO(ifp)->flags; in in6_addifaddr()
1677 if (ND_IFINFO(ifp)->flags & ND6_IFF_IFDISABLED) in in6ifa_llaonifp()
2101 if ((ND_IFINFO(ifp)->flags & in in6if_do_dad()
H A Dip6_input.c539 if ((ND_IFINFO(rcvif)->flags & ND6_IFF_IFDISABLED)) in ip6_input()
H A Dicmp6.c2106 hlim = ND_IFINFO(m->m_pkthdr.rcvif)->chlim; in icmp6_reflect()
H A Dip6_output.c2964 (ND_IFINFO(ifp)->flags & ND6_IFF_IFDISABLED) != 0)) in ip6_setpktopt()
/freebsd/sys/net/
H A Dif_ethersubr.c488 if ((ND_IFINFO(ifp)->flags & ND6_IFF_IPV6_ONLY_MASK) != 0) { in ether_output_frame()
554 if ((ND_IFINFO(ifp)->flags & ND6_IFF_IPV6_ONLY_MASK) != 0) { in ether_input_internal()
/freebsd/sys/dev/wg/
H A Dif_wg.c2931 ND_IFINFO(ifp)->flags &= ~ND6_IFF_AUTO_LINKLOCAL; in wg_clone_create()
2932 ND_IFINFO(ifp)->flags |= ND6_IFF_NO_DAD; in wg_clone_create()
/freebsd/sys/netinet/
H A Dsctp_output.c4599 if ((ND_IFINFO(ifp)->linkmtu > 0) && in sctp_lowlevel_chunk_output()
4600 (stcb->asoc.smallest_mtu > ND_IFINFO(ifp)->linkmtu)) { in sctp_lowlevel_chunk_output()
4601 sctp_pathmtu_adjustment(stcb, ND_IFINFO(ifp)->linkmtu, false); in sctp_lowlevel_chunk_output()