Searched refs:RTF_GATEWAY (Results 1 – 12 of 12) sorted by relevance
51 #define RTF_GATEWAY 0x0002 /* destination is a gateway */ macro
543 if (!rt || !(rt->rt6i_flags & RTF_GATEWAY)) in rt6_probe()603 !(rt->rt6i_flags & RTF_GATEWAY)) in rt6_check_neigh()751 return (rt->rt6i_flags & (RTF_NONEXTHOP | RTF_GATEWAY)); in rt6_is_gw_or_nonexthop()1083 !(rt->rt6i_flags & RTF_GATEWAY))) { in ip6_pol_route()1449 if (!(rt->rt6i_flags & RTF_GATEWAY)) in __ip6_route_redirect()1901 if (cfg->fc_flags & RTF_GATEWAY) { in ip6_route_info_create()1950 if (!(grt->rt6i_flags & RTF_GATEWAY)) in ip6_route_info_create()2082 if (cfg->fc_flags & RTF_GATEWAY && in ip6_route_del()2190 nrt->rt6i_flags = RTF_GATEWAY|RTF_UP|RTF_DYNAMIC|RTF_CACHE; in rt6_do_redirect()2192 nrt->rt6i_flags &= ~RTF_GATEWAY; in rt6_do_redirect()[all …]
669 return (rt->rt6i_flags & (RTF_GATEWAY|RTF_ADDRCONF|RTF_DYNAMIC)) == in rt6_qualify_for_ecmp()670 RTF_GATEWAY; in rt6_qualify_for_ecmp()1757 } else if (rt->rt6i_flags & RTF_GATEWAY) { in fib6_age()1947 if (rt->rt6i_flags & RTF_GATEWAY) in ipv6_route_seq_show()
1532 if (rt->rt6i_flags & RTF_GATEWAY) { in ndisc_send_redirect()
473 if (rt->rt6i_flags & RTF_GATEWAY) in ip6_forward()
1075 0, RTF_GATEWAY | RTF_DEFAULT); in cleanup_prefix_route()2392 RTF_GATEWAY | RTF_DEFAULT); in addrconf_prefix_rcv()
202 if (rt->rt6i_flags & RTF_GATEWAY) in rt6_nexthop()
271 if (!(rt.rt_flags & RTF_GATEWAY) || /* Direct routes are fixed */ in ipxrtr_ioctl()
593 (!(tmp->flags&RTF_GATEWAY) || in atrtr_delete()1354 if (rt->flags & RTF_GATEWAY) { in atalk_route_packet()1678 !(rt->flags & RTF_GATEWAY) && !(dev->flags & IFF_LOOPBACK)) { in atalk_sendmsg()1713 if (rt->flags & RTF_GATEWAY) { in atalk_sendmsg()
532 if (rt->rt_flags & RTF_GATEWAY && in rtentry_to_fib_config()540 if (rt->rt_flags & RTF_GATEWAY && !cfg->fc_gw) in rtentry_to_fib_config()
427 rm.rt_flags = RTF_UP | RTF_GATEWAY; in ic_setup_routes()
2555 flags |= RTF_GATEWAY; in fib_flag_trans()