Home
last modified time | relevance | path

Searched refs:rt_flags (Results 1 – 14 of 14) sorted by relevance

/freebsd/sys/net/route/
H A Dnhop_ctl.c406 uint32_t rt_flags = nhop_get_rtflags(nh) & ~RT_CHANGE_RTFLAGS_MASK; in alter_nhop_from_info() local
407 rt_flags |= info->rti_flags & RT_CHANGE_RTFLAGS_MASK; in alter_nhop_from_info()
408 nhop_set_rtflags(nh, rt_flags); in alter_nhop_from_info()
715 nh_priv->rt_flags = nh_orig->nh_priv->rt_flags; in nhop_copy()
724 nh->nh_priv->rt_flags &= ~RTF_GATEWAY; in nhop_set_direct_gw()
774 nh->nh_priv->rt_flags |= RTF_GATEWAY; in nhop_set_gw()
778 nh->nh_priv->rt_flags &= ~RTF_GATEWAY; in nhop_set_gw()
804 nh->nh_priv->rt_flags |= RTF_BROADCAST; in nhop_set_broadcast()
807 nh->nh_priv->rt_flags &= ~RTF_BROADCAST; in nhop_set_broadcast()
815 nh->nh_priv->rt_flags &= ~(RTF_BLACKHOLE | RTF_REJECT); in nhop_set_blackhole()
[all …]
H A Dnhop_var.h78 uint32_t rt_flags; /* routing flags for the control plane */ member
99 ((_nh)->nh_priv->rt_flags & RTF_PINNED))
H A Dnhop.h190 void nhop_set_rtflags(struct nhop_object *nh, int rt_flags);
/freebsd/sys/net80211/
H A Dieee80211_hwmp.c920 if (!(rttran->rt_flags & IEEE80211_MESHRT_FLAGS_VALID) || in hwmp_update_transmitter()
925 rttran->rt_flags & IEEE80211_MESHRT_FLAGS_VALID ? in hwmp_update_transmitter()
932 rttran->rt_flags = IEEE80211_MESHRT_FLAGS_VALID; in hwmp_update_transmitter()
974 rttarg->rt_flags & IEEE80211_MESHRT_FLAGS_PROXY && in hwmp_recv_preq()
1035 rtorig->rt_flags = IEEE80211_MESHRT_FLAGS_VALID; in hwmp_recv_preq()
1038 (rtorig->rt_flags & IEEE80211_MESHRT_FLAGS_VALID && in hwmp_recv_preq()
1060 rttarg->rt_flags & IEEE80211_MESHRT_FLAGS_PROXY && in hwmp_recv_preq()
1061 rttarg->rt_flags & IEEE80211_MESHRT_FLAGS_VALID)) { in hwmp_recv_preq()
1075 rttarg->rt_flags & IEEE80211_MESHRT_FLAGS_PROXY) { in hwmp_recv_preq()
1134 rtorig->rt_flags |= IEEE80211_MESHRT_FLAGS_GATE; in hwmp_recv_preq()
[all …]
H A Dieee80211_mesh.c272 if (rt->rt_flags & IEEE80211_MESHRT_FLAGS_PROXY && rt->rt_nhops == 0) { in ieee80211_mesh_rt_update()
284 rt->rt_flags &= ~IEEE80211_MESHRT_FLAGS_VALID; in ieee80211_mesh_rt_update()
322 rt->rt_flags |= IEEE80211_MESHRT_FLAGS_VALID in ieee80211_mesh_proxy_check()
325 } else if ((rt->rt_flags & IEEE80211_MESHRT_FLAGS_VALID) == 0) { in ieee80211_mesh_proxy_check()
326 KASSERT(rt->rt_flags & IEEE80211_MESHRT_FLAGS_PROXY, in ieee80211_mesh_proxy_check()
338 rt->rt_flags |= IEEE80211_MESHRT_FLAGS_VALID in ieee80211_mesh_proxy_check()
372 if (rt->rt_flags & IEEE80211_MESHRT_FLAGS_PROXY) { in ieee80211_mesh_rt_del()
431 if (rt->rt_flags & IEEE80211_MESHRT_FLAGS_DISCOVER) in mesh_rt_flush_invalid()
434 if ((rt->rt_flags & IEEE80211_MESHRT_FLAGS_VALID) == 0) in mesh_rt_flush_invalid()
1013 if ((rt->rt_flags & IEEE80211_MESHRT_FLAGS_VALID) == 0) { in ieee80211_mesh_find_txnode()
[all …]
H A Dieee80211_mesh.h428 uint16_t rt_flags; member
H A Dieee80211_output.c1595 if (rt->rt_flags & IEEE80211_MESHRT_FLAGS_PROXY) { in ieee80211_encap()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_solaris.h33 uint_t rt_flags; member
/freebsd/tools/debugscripts/
H A Dnetstat-anr.gdb103 p_sockaddr $sa $sam $rte->rt_flags
107 p_flags $rte->rt_flags
/freebsd/sys/net/
H A Droute.c571 if (!(rt->rt_flags & RTF_HOST)) {
576 if (rt->rt_flags & RTF_GATEWAY) {
/freebsd/sys/netlink/route/
H A Drt.c83 int rt_flags = nhop_get_rtflags(nh); in nl_get_rtm_protocol() local
84 if (rt_flags & RTF_PROTO1) in nl_get_rtm_protocol()
86 if (rt_flags & RTF_STATIC) in nl_get_rtm_protocol()
/freebsd/sys/netinet6/
H A Dip6_forward.c296 if ((rt->rt_flags & (RTF_BLACKHOLE|RTF_REJECT)) == 0) in ip6_forward()
H A Dicmp6.c2349 int rt_flags; in icmp6_redirect_input() local
2358 rt_flags = 0; in icmp6_redirect_input()
2366 rt_flags |= RTF_GATEWAY; in icmp6_redirect_input()
2371 (struct sockaddr *)&ssrc, ifp, rt_flags, in icmp6_redirect_input()
/freebsd/contrib/wpa/src/wps/
H A Dwps_upnp_ssdp.c826 rt.rt_flags = RTF_UP; in add_ssdp_network()