Home
last modified time | relevance | path

Searched refs:rt_flags (Results 1 – 16 of 16) 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.c921 if (!(rttran->rt_flags & IEEE80211_MESHRT_FLAGS_VALID) || in hwmp_update_transmitter()
926 rttran->rt_flags & IEEE80211_MESHRT_FLAGS_VALID ? in hwmp_update_transmitter()
933 rttran->rt_flags = IEEE80211_MESHRT_FLAGS_VALID; in hwmp_update_transmitter()
975 rttarg->rt_flags & IEEE80211_MESHRT_FLAGS_PROXY && in hwmp_recv_preq()
1036 rtorig->rt_flags = IEEE80211_MESHRT_FLAGS_VALID; in hwmp_recv_preq()
1039 (rtorig->rt_flags & IEEE80211_MESHRT_FLAGS_VALID && in hwmp_recv_preq()
1061 rttarg->rt_flags & IEEE80211_MESHRT_FLAGS_PROXY && in hwmp_recv_preq()
1062 rttarg->rt_flags & IEEE80211_MESHRT_FLAGS_VALID)) { in hwmp_recv_preq()
1076 rttarg->rt_flags & IEEE80211_MESHRT_FLAGS_PROXY) { in hwmp_recv_preq()
1135 rtorig->rt_flags |= IEEE80211_MESHRT_FLAGS_GATE; in hwmp_recv_preq()
[all …]
H A Dieee80211_mesh.c271 if (rt->rt_flags & IEEE80211_MESHRT_FLAGS_PROXY && rt->rt_nhops == 0) { in ieee80211_mesh_rt_update()
283 rt->rt_flags &= ~IEEE80211_MESHRT_FLAGS_VALID; in ieee80211_mesh_rt_update()
321 rt->rt_flags |= IEEE80211_MESHRT_FLAGS_VALID in ieee80211_mesh_proxy_check()
324 } else if ((rt->rt_flags & IEEE80211_MESHRT_FLAGS_VALID) == 0) { in ieee80211_mesh_proxy_check()
325 KASSERT(rt->rt_flags & IEEE80211_MESHRT_FLAGS_PROXY, in ieee80211_mesh_proxy_check()
337 rt->rt_flags |= IEEE80211_MESHRT_FLAGS_VALID in ieee80211_mesh_proxy_check()
371 if (rt->rt_flags & IEEE80211_MESHRT_FLAGS_PROXY) { in ieee80211_mesh_rt_del()
430 if (rt->rt_flags & IEEE80211_MESHRT_FLAGS_DISCOVER) in mesh_rt_flush_invalid()
433 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.c1582 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.c572 if (!(rt->rt_flags & RTF_HOST)) {
577 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/contrib/openzfs/include/sys/
H A Drange_tree.h74 uint64_t rt_flags; member
/freebsd/sys/netinet6/
H A Dip6_forward.c300 if ((rt->rt_flags & (RTF_BLACKHOLE|RTF_REJECT)) == 0) in ip6_forward()
H A Dicmp6.c2327 int rt_flags; in icmp6_redirect_input() local
2336 rt_flags = 0; in icmp6_redirect_input()
2344 rt_flags |= RTF_GATEWAY; in icmp6_redirect_input()
2349 (struct sockaddr *)&ssrc, ifp, rt_flags, in icmp6_redirect_input()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Drange_tree.c239 rt->rt_flags = flags; in ZFS_BTREE_FIND_IN_BUF_FUNC()
286 if (rt->rt_name != NULL && (rt->rt_flags & ZFS_RT_F_DYN_NAME)) in zfs_range_tree_destroy()
/freebsd/contrib/wpa/src/wps/
H A Dwps_upnp_ssdp.c826 rt.rt_flags = RTF_UP; in add_ssdp_network()