Home
last modified time | relevance | path

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

/freebsd-14.2/sys/netinet6/
H A Dnd6.c359 nd6_setmtu0(ifp, ND_IFINFO(ifp)); in nd6_setmtu()
791 ndi = ND_IFINFO(ifp); in nd6_llinfo_timer()
1655 ND.maxmtu = ND_IFINFO(ifp)->maxmtu; in nd6_ioctl()
1658 ND.retrans = ND_IFINFO(ifp)->retrans; in nd6_ioctl()
1659 ND.flags = ND_IFINFO(ifp)->flags; in nd6_ioctl()
1661 ND.chlim = ND_IFINFO(ifp)->chlim; in nd6_ioctl()
1664 ND = *ND_IFINFO(ifp); in nd6_ioctl()
1686 ND_IFINFO(ifp)->reachable = in nd6_ioctl()
1692 ND_IFINFO(ifp)->chlim = ND.chlim; in nd6_ioctl()
1783 ND_IFINFO(ifp)->flags = ND.flags; in nd6_ioctl()
[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.c691 ND_IFINFO(ifp)->flags &= ~ND6_IFF_AUTO_LINKLOCAL; in in6_ifattach()
692 ND_IFINFO(ifp)->flags |= ND6_IFF_NO_DAD; in in6_ifattach()
723 if (!(ND_IFINFO(ifp)->flags & ND6_IFF_IFDISABLED) && in in6_ifattach()
724 ND_IFINFO(ifp)->flags & ND6_IFF_AUTO_LINKLOCAL) { in in6_ifattach()
806 struct nd_ifinfo *ndi = ND_IFINFO(ifp); in in6_get_tmpifid()
844 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.c380 if (!(ND_IFINFO(ifp)->flags & ND6_IFF_NO_PREFER_IFACE)) { in in6_selectsrc()
850 return (ND_IFINFO(ifp)->chlim); in in6_selecthlim()
861 hlim = ND_IFINFO(nh->nh_ifp)->chlim; in in6_selecthlim()
H A Din6.c1095 (hostIsNew || (ND_IFINFO(ifp)->flags & ND6_IFF_IFDISABLED))) in in6_update_ifa_internal()
1353 if (ND_IFINFO(ifp)->flags & ND6_IFF_IFDISABLED) { in in6_addifaddr()
1357 nd.ndi.flags = ND_IFINFO(ifp)->flags; in in6_addifaddr()
1679 if (ND_IFINFO(ifp)->flags & ND6_IFF_IFDISABLED) in in6ifa_llaonifp()
2103 if ((ND_IFINFO(ifp)->flags & in in6if_do_dad()
H A Dip6_input.c541 if ((ND_IFINFO(rcvif)->flags & ND6_IFF_IFDISABLED)) in ip6_input()
H A Dicmp6.c2097 hlim = ND_IFINFO(m->m_pkthdr.rcvif)->chlim; in icmp6_reflect()
H A Dip6_output.c2934 (ND_IFINFO(ifp)->flags & ND6_IFF_IFDISABLED) != 0)) in ip6_setpktopt()
/freebsd-14.2/sys/net/
H A Dif_ethersubr.c490 if ((ND_IFINFO(ifp)->flags & ND6_IFF_IPV6_ONLY_MASK) != 0) { in ether_output_frame()
556 if ((ND_IFINFO(ifp)->flags & ND6_IFF_IPV6_ONLY_MASK) != 0) { in ether_input_internal()
/freebsd-14.2/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-14.2/sys/netinet/
H A Dsctp_output.c4601 if ((ND_IFINFO(ifp)->linkmtu > 0) && in sctp_lowlevel_chunk_output()
4602 (stcb->asoc.smallest_mtu > ND_IFINFO(ifp)->linkmtu)) { in sctp_lowlevel_chunk_output()
4603 sctp_pathmtu_adjustment(stcb, ND_IFINFO(ifp)->linkmtu, false); in sctp_lowlevel_chunk_output()