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);
920 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 …]
272 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 …]
428 uint16_t rt_flags; member
1595 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
571 if (!(rt->rt_flags & RTF_HOST)) {576 if (rt->rt_flags & RTF_GATEWAY) {
83 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()
296 if ((rt->rt_flags & (RTF_BLACKHOLE|RTF_REJECT)) == 0) in ip6_forward()
2349 int rt_flags; in icmp6_redirect_input() local2358 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()
826 rt.rt_flags = RTF_UP; in add_ssdp_network()