Searched refs:rt_flags (Results 1 - 13 of 13) sorted by relevance

/freebsd-13-stable/sys/netinet/
H A Din_rmx.c60 int rt_flags; local
64 rt_flags = nhop_get_rtflags(nh);
66 if (rt_flags & RTF_HOST) {
80 rt_flags |= RTF_BROADCAST;
81 nhop_set_rtflags(nh, rt_flags);
98 if ((rt_flags & RTF_HOST) == 0 && mask4 != NULL &&
H A Din.c1377 int rt_flags; local
1397 rt_flags = info.rti_flags;
1405 if (rt_flags & RTF_GATEWAY) {
1406 if (!(rt_flags & RTF_HOST) || !info.rti_ifp ||
1424 if (!(rt_flags & RTF_HOST) && info.rti_ifp != ifp) {
/freebsd-13-stable/sys/net/route/
H A Dnhop_ctl.c61 * ifp, ifa, aifp, mtu, gw addr(if set), nh_type, nh_family, mask of rt_flags and
187 nh->nh_priv->rt_flags |= RTF_FIXEDMTU;
193 nh->nh_priv->rt_flags &= ~RTF_FIXEDMTU;
264 convert_rt_to_nh_flags(int rt_flags) argument
268 res = (rt_flags & RTF_REJECT) ? NHF_REJECT : 0;
269 res |= (rt_flags & RTF_HOST) ? NHF_HOST : 0;
270 res |= (rt_flags & RTF_BLACKHOLE) ? NHF_BLACKHOLE : 0;
271 res |= (rt_flags & (RTF_DYNAMIC|RTF_MODIFIED)) ? NHF_REDIRECT : 0;
272 res |= (rt_flags & RTF_BROADCAST) ? NHF_BROADCAST : 0;
273 res |= (rt_flags
281 int error, rt_flags; local
753 nhop_set_rtflags(struct nhop_object *nh, int rt_flags) argument
[all...]
H A Dnhop_var.h81 uint32_t rt_flags; /* routing flags for the control plane */ member in struct:nhop_priv
97 ((_nh)->nh_priv->rt_flags & RTF_PINNED))
H A Droute_var.h193 * rt_flags has to be split between these 2 entries. As rtentry
196 * any other rtentry changes, most of rt_flags shifts to the particular nexthop.
256 void nhop_set_rtflags(struct nhop_object *nh, int rt_flags);
/freebsd-13-stable/sys/net80211/
H A Dieee80211_hwmp.c925 if (!(rttran->rt_flags & IEEE80211_MESHRT_FLAGS_VALID) ||
930 rttran->rt_flags & IEEE80211_MESHRT_FLAGS_VALID ?
937 rttran->rt_flags = IEEE80211_MESHRT_FLAGS_VALID;
979 rttarg->rt_flags & IEEE80211_MESHRT_FLAGS_PROXY &&
1040 rtorig->rt_flags = IEEE80211_MESHRT_FLAGS_VALID;
1043 (rtorig->rt_flags & IEEE80211_MESHRT_FLAGS_VALID &&
1065 rttarg->rt_flags & IEEE80211_MESHRT_FLAGS_PROXY &&
1066 rttarg->rt_flags & IEEE80211_MESHRT_FLAGS_VALID)) {
1080 rttarg->rt_flags & IEEE80211_MESHRT_FLAGS_PROXY) {
1139 rtorig->rt_flags |
[all...]
H A Dieee80211_mesh.c276 if (rt->rt_flags & IEEE80211_MESHRT_FLAGS_PROXY && rt->rt_nhops == 0) {
288 rt->rt_flags &= ~IEEE80211_MESHRT_FLAGS_VALID;
326 rt->rt_flags |= IEEE80211_MESHRT_FLAGS_VALID
329 } else if ((rt->rt_flags & IEEE80211_MESHRT_FLAGS_VALID) == 0) {
330 KASSERT(rt->rt_flags & IEEE80211_MESHRT_FLAGS_PROXY,
342 rt->rt_flags |= IEEE80211_MESHRT_FLAGS_VALID
376 if (rt->rt_flags & IEEE80211_MESHRT_FLAGS_PROXY) {
435 if (rt->rt_flags & IEEE80211_MESHRT_FLAGS_DISCOVER)
438 if ((rt->rt_flags & IEEE80211_MESHRT_FLAGS_VALID) == 0)
1017 if ((rt->rt_flags
[all...]
H A Dieee80211_mesh.h430 uint16_t rt_flags; member in struct:ieee80211_mesh_route
H A Dieee80211_output.c1584 if (rt->rt_flags & IEEE80211_MESHRT_FLAGS_PROXY) {
/freebsd-13-stable/sys/net/
H A Droute.c656 if (!(rt->rt_flags & RTF_HOST)) {
661 if (rt->rt_flags & RTF_GATEWAY) {
/freebsd-13-stable/sys/netinet6/
H A Dip6_forward.c287 if ((rt->rt_flags & (RTF_BLACKHOLE|RTF_REJECT)) == 0)
H A Dicmp6.c2370 int rt_flags; local
2379 rt_flags = 0;
2387 rt_flags |= RTF_GATEWAY;
2392 (struct sockaddr *)&ssrc, ifp, rt_flags, local
/freebsd-13-stable/contrib/wpa/src/wps/
H A Dwps_upnp_ssdp.c826 rt.rt_flags = RTF_UP;

Completed in 100 milliseconds