Searched refs:RTF_GATEWAY (Results 1 – 21 of 21) sorted by relevance
203 KASSERT(((flags & ~(RTF_GATEWAY)) == 0), in rib_add_redirect()274 if ((flags & RTF_GATEWAY) == 0) { in ifa_ifwithroute()371 if ((nhop_get_rtflags(nh) & RTF_GATEWAY) && in rt_exportinfo()385 if (nhop_get_rtflags(nh) & RTF_GATEWAY) { in rt_exportinfo()569 else if ((info->rti_flags & RTF_GATEWAY) != 0 && in rt_getifa_fib()661 if (rt->rt_flags & RTF_GATEWAY) {
173 #define RTF_GATEWAY 0x2 /* destination is a gateway */ macro
610 info->rti_flags |= RTF_GATEWAY; in fill_blackholeinfo()691 info->rti_flags &= ~RTF_GATEWAY; in fill_addrinfo()954 rtm->rtm_flags = RTF_GATEWAY | in update_rtm_from_rc()2185 rtm->rtm_flags = RTF_GATEWAY | in sysctl_dumpnhop()
222 if (info->rti_flags & RTF_GATEWAY) { in set_nhop_gw_from_info()271 res |= (rt_flags & RTF_GATEWAY) ? NHF_GATEWAY : 0; in convert_rt_to_nh_flags()429 nh->nh_priv->rt_flags &= ~RTF_GATEWAY; in alter_nhop_from_info()430 nh->nh_priv->rt_flags |= (RTF_GATEWAY & info->rti_flags); in alter_nhop_from_info()
75 (RTF_GATEWAY | RTF_HOST | RTF_REJECT | RTF_BLACKHOLE | \
197 #define NHOP_RT_FLAG_MASK (RTF_GATEWAY | RTF_HOST | RTF_REJECT | RTF_DYNAMIC | \
590 if ((flags & RTF_GATEWAY) && !gateway) in create_rtentry()880 if ((info->rti_flags & RTF_GATEWAY) && in rib_change_route()888 info->rti_flags &= ~RTF_GATEWAY; in rib_change_route()
495 info->rti_flags |= RTF_GATEWAY; in fill_blackholeinfo()576 info->rti_flags &= ~RTF_GATEWAY; in fill_addrinfo()1003 rtm->rtm_flags = RTF_GATEWAY | in update_rtm_from_rc()1338 info.rti_flags &= ~RTF_GATEWAY;1544 rtm->rtm_flags = RTF_GATEWAY |
414 info.rti_flags = RTF_GATEWAY; in ff_veth_set_gateway()526 info.rti_flags = RTF_GATEWAY; in ff_veth_set_gateway6()
1346 rtflag = RTF_GATEWAY; in ff_route_ctl()
171 #define RTF_GATEWAY 0x2 /* destination is a gateway */ macro
451 (rtm->rtm_flags & RTF_GATEWAY) || in set()532 !(rtm->rtm_flags & RTF_GATEWAY) && in delete()
508 !(rtm->rtm_flags & RTF_GATEWAY)) { in set()601 !(rtm->rtm_flags & RTF_GATEWAY)) { in delete()807 isrouter = rtm->rtm_flags & RTF_GATEWAY; in dump()
540 if ((rtm->rtm_flags & RTF_GATEWAY) == 0) in flushroutes_fib()1083 flags |= RTF_GATEWAY; in newroute()1849 if (sp[RTAX_GATEWAY] && (rtm->rtm_flags & RTF_GATEWAY))
84 { RTF_GATEWAY, 'G', "gateway" },
693 info.rti_flags = RTF_GATEWAY; in defrouter_addreq()733 info.rti_flags = RTF_GATEWAY; in defrouter_delreq()
2452 ndpc.rtm.rtm_flags |= RTF_GATEWAY; in in6_lltable_dump_entry()
2388 rt_flags |= RTF_GATEWAY; in icmp6_redirect_input()
723 RTF_GATEWAY, V_redirtimeout); in icmp_input()
1405 if (rt_flags & RTF_GATEWAY) { in in_lltable_rtcheck()