Searched refs:rt_flags (Results 1 – 13 of 13) sorted by relevance
187 nh->nh_priv->rt_flags |= RTF_FIXEDMTU; in set_nhop_mtu_from_info()193 nh->nh_priv->rt_flags &= ~RTF_FIXEDMTU; in set_nhop_mtu_from_info()262 convert_rt_to_nh_flags(int rt_flags) in convert_rt_to_nh_flags() argument267 res |= (rt_flags & RTF_HOST) ? NHF_HOST : 0; in convert_rt_to_nh_flags()279 int error, rt_flags; in fill_nhop_from_info() local286 nh->nh_priv->rt_flags = rt_flags; in fill_nhop_from_info()419 nh->nh_priv->rt_flags &= ~RTF_FMASK; in alter_nhop_from_info()429 nh->nh_priv->rt_flags &= ~RTF_GATEWAY; in alter_nhop_from_info()468 nh_priv->rt_flags = nh_orig->nh_priv->rt_flags; in nhop_create_from_nhop()747 return (nh->nh_priv->rt_flags); in nhop_get_rtflags()[all …]
81 uint32_t rt_flags; /* routing flags for the control plane */ member97 ((_nh)->nh_priv->rt_flags & RTF_PINNED))
244 void nhop_set_rtflags(struct nhop_object *nh, int rt_flags);
60 int rt_flags; in rib4_preadd() local64 rt_flags = nhop_get_rtflags(nh); in rib4_preadd()66 if (rt_flags & RTF_HOST) { in rib4_preadd()80 rt_flags |= RTF_BROADCAST; in rib4_preadd()81 nhop_set_rtflags(nh, rt_flags); in rib4_preadd()98 if ((rt_flags & RTF_HOST) == 0 && mask4 != NULL && in rib4_preadd()
1377 int rt_flags; in in_lltable_rtcheck() local1397 rt_flags = info.rti_flags; in in_lltable_rtcheck()1405 if (rt_flags & RTF_GATEWAY) { in in_lltable_rtcheck()1406 if (!(rt_flags & RTF_HOST) || !info.rti_ifp || in in_lltable_rtcheck()1424 if (!(rt_flags & RTF_HOST) && info.rti_ifp != ifp) { in in_lltable_rtcheck()
937 rttran->rt_flags = IEEE80211_MESHRT_FLAGS_VALID; in hwmp_update_transmitter()1040 rtorig->rt_flags = IEEE80211_MESHRT_FLAGS_VALID; in hwmp_recv_preq()1139 rtorig->rt_flags |= IEEE80211_MESHRT_FLAGS_GATE; in hwmp_recv_preq()1347 rt->rt_flags & IEEE80211_MESHRT_FLAGS_VALID ? in hwmp_recv_prep()1428 rtext->rt_flags = IEEE80211_MESHRT_FLAGS_PROXY | in hwmp_recv_prep()1590 rt->rt_flags &= ~IEEE80211_MESHRT_FLAGS_VALID; in hwmp_recv_perr()1596 rt->rt_flags &= ~IEEE80211_MESHRT_FLAGS_VALID; in hwmp_recv_perr()1603 rt_ext->rt_flags &= in hwmp_recv_perr()1792 rt->rt_flags |= IEEE80211_MESHRT_FLAGS_GATE; in hwmp_recv_rann()1966 rt->rt_flags = IEEE80211_MESHRT_FLAGS_DISCOVER; in hwmp_discover()[all …]
288 rt->rt_flags &= ~IEEE80211_MESHRT_FLAGS_VALID; in ieee80211_mesh_rt_update()326 rt->rt_flags |= IEEE80211_MESHRT_FLAGS_VALID in ieee80211_mesh_proxy_check()342 rt->rt_flags |= IEEE80211_MESHRT_FLAGS_VALID in ieee80211_mesh_proxy_check()376 if (rt->rt_flags & IEEE80211_MESHRT_FLAGS_PROXY) { in ieee80211_mesh_rt_del()435 if (rt->rt_flags & IEEE80211_MESHRT_FLAGS_DISCOVER) in mesh_rt_flush_invalid()1023 if (rt->rt_flags & IEEE80211_MESHRT_FLAGS_PROXY) { in ieee80211_mesh_find_txnode()1029 rt->rt_flags); in ieee80211_mesh_find_txnode()1105 KASSERT((rt_gate->rt_flags & in ieee80211_mesh_forward_to_gates()1113 rt_dest->rt_flags = IEEE80211_MESHRT_FLAGS_PROXY | in ieee80211_mesh_forward_to_gates()1135 rt_dest->rt_flags = 0; /* Mark invalid */ in ieee80211_mesh_forward_to_gates()[all …]
430 uint16_t rt_flags; member
1584 if (rt->rt_flags & IEEE80211_MESHRT_FLAGS_PROXY) { in ieee80211_encap()
656 if (!(rt->rt_flags & RTF_HOST)) {661 if (rt->rt_flags & RTF_GATEWAY) {
1484 if ((rt->rt_flags & RTF_HOST) == 01543 if (rt->rt_flags & RTF_GWFLAG_COMPAT)1545 (rt->rt_flags & ~RTF_GWFLAG_COMPAT);1547 rtm->rtm_flags = rt->rt_flags;
287 if ((rt->rt_flags & (RTF_BLACKHOLE|RTF_REJECT)) == 0) in ip6_forward()
2371 int rt_flags; in icmp6_redirect_input() local2380 rt_flags = 0; in icmp6_redirect_input()2388 rt_flags |= RTF_GATEWAY; in icmp6_redirect_input()2393 (struct sockaddr *)&ssrc, ifp, rt_flags, in icmp6_redirect_input()