Searched refs:rt_flags (Results 1 – 14 of 14) sorted by relevance
406 uint32_t rt_flags = nhop_get_rtflags(nh) & ~RT_CHANGE_RTFLAGS_MASK; in alter_nhop_from_info() local407 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 …]
78 uint32_t rt_flags; /* routing flags for the control plane */ member99 ((_nh)->nh_priv->rt_flags & RTF_PINNED))
190 void nhop_set_rtflags(struct nhop_object *nh, int rt_flags);
923 if (!(rttran->rt_flags & IEEE80211_MESHRT_FLAGS_VALID) || in hwmp_update_transmitter()928 rttran->rt_flags & IEEE80211_MESHRT_FLAGS_VALID ? in hwmp_update_transmitter()935 rttran->rt_flags = IEEE80211_MESHRT_FLAGS_VALID; in hwmp_update_transmitter()977 rttarg->rt_flags & IEEE80211_MESHRT_FLAGS_PROXY && in hwmp_recv_preq()1038 rtorig->rt_flags = IEEE80211_MESHRT_FLAGS_VALID; in hwmp_recv_preq()1041 (rtorig->rt_flags & IEEE80211_MESHRT_FLAGS_VALID && in hwmp_recv_preq()1063 rttarg->rt_flags & IEEE80211_MESHRT_FLAGS_PROXY && in hwmp_recv_preq()1064 rttarg->rt_flags & IEEE80211_MESHRT_FLAGS_VALID)) { in hwmp_recv_preq()1078 rttarg->rt_flags & IEEE80211_MESHRT_FLAGS_PROXY) { in hwmp_recv_preq()1137 rtorig->rt_flags |= IEEE80211_MESHRT_FLAGS_GATE; in hwmp_recv_preq()[all …]
275 if (rt->rt_flags & IEEE80211_MESHRT_FLAGS_PROXY && rt->rt_nhops == 0) { in ieee80211_mesh_rt_update()287 rt->rt_flags &= ~IEEE80211_MESHRT_FLAGS_VALID; in ieee80211_mesh_rt_update()325 rt->rt_flags |= IEEE80211_MESHRT_FLAGS_VALID in ieee80211_mesh_proxy_check()328 } else if ((rt->rt_flags & IEEE80211_MESHRT_FLAGS_VALID) == 0) { in ieee80211_mesh_proxy_check()329 KASSERT(rt->rt_flags & IEEE80211_MESHRT_FLAGS_PROXY, in ieee80211_mesh_proxy_check()341 rt->rt_flags |= IEEE80211_MESHRT_FLAGS_VALID in ieee80211_mesh_proxy_check()375 if (rt->rt_flags & IEEE80211_MESHRT_FLAGS_PROXY) { in ieee80211_mesh_rt_del()434 if (rt->rt_flags & IEEE80211_MESHRT_FLAGS_DISCOVER) in mesh_rt_flush_invalid()437 if ((rt->rt_flags & IEEE80211_MESHRT_FLAGS_VALID) == 0) in mesh_rt_flush_invalid()1016 if ((rt->rt_flags & IEEE80211_MESHRT_FLAGS_VALID) == 0) { in ieee80211_mesh_find_txnode()[all …]
428 uint16_t rt_flags; member
1596 if (rt->rt_flags & IEEE80211_MESHRT_FLAGS_PROXY) { in ieee80211_encap()
33 uint_t rt_flags; member
103 p_sockaddr $sa $sam $rte->rt_flags107 p_flags $rte->rt_flags
569 if (!(rt->rt_flags & RTF_HOST)) {574 if (rt->rt_flags & RTF_GATEWAY) {
83 int rt_flags = nhop_get_rtflags(nh); in nl_get_rtm_protocol() local84 if (rt_flags & RTF_PROTO1) in nl_get_rtm_protocol()86 if (rt_flags & RTF_STATIC) in nl_get_rtm_protocol()
296 if ((rt->rt_flags & (RTF_BLACKHOLE|RTF_REJECT)) == 0) in ip6_forward()
2351 int rt_flags; in icmp6_redirect_input() local2360 rt_flags = 0; in icmp6_redirect_input()2368 rt_flags |= RTF_GATEWAY; in icmp6_redirect_input()2373 (struct sockaddr *)&ssrc, ifp, rt_flags, in icmp6_redirect_input()
826 rt.rt_flags = RTF_UP; in add_ssdp_network()