Searched refs:RTF_GATEWAY (Results 1 – 15 of 15) sorted by relevance
52 #define RTF_GATEWAY 0x0002 /* destination is a gateway */ macro
71 return (f6i->fib6_flags & (RTF_GATEWAY|RTF_ADDRCONF|RTF_DYNAMIC)) == in rt6_qualify_for_ecmp()72 RTF_GATEWAY; in rt6_qualify_for_ecmp()267 if (rt->rt6i_flags & RTF_GATEWAY) in rt6_nexthop()
537 if (!rt || !(rt->fib6_flags & RTF_GATEWAY)) in rt6_probe()599 !(rt->fib6_flags & RTF_GATEWAY)) in rt6_check_neigh()788 return (rt->fib6_flags & (RTF_NONEXTHOP | RTF_GATEWAY)); in rt6_is_gw_or_nonexthop()1713 #define RTF_CACHE_GATEWAY (RTF_GATEWAY | RTF_CACHE)1775 if (rt->rt6i_flags & RTF_GATEWAY) { in rt6_age_examine_exception()1892 !(f6i->fib6_flags & RTF_GATEWAY))) { in ip6_pol_route()2466 if (!(rt->fib6_flags & RTF_GATEWAY)) in __ip6_route_redirect()2830 if (grt->rt6i_flags & RTF_GATEWAY || in ip6_route_check_nh()2856 if (!(grt->rt6i_flags & RTF_GATEWAY)) in ip6_route_check_nh()3100 if (cfg->fc_flags & RTF_GATEWAY) { in ip6_route_info_create()[all …]
495 if (rt->rt6i_flags & RTF_GATEWAY) in ip6_forward()
1614 if (rt->rt6i_flags & RTF_GATEWAY) { in ndisc_send_redirect()
1183 0, RTF_GATEWAY | RTF_DEFAULT); in cleanup_prefix_route()2667 RTF_GATEWAY | RTF_DEFAULT); in addrconf_prefix_rcv()4533 0, RTF_GATEWAY | RTF_DEFAULT); in modify_prefix_route()
2268 if (rt->fib6_flags & RTF_GATEWAY) in ipv6_route_seq_show()
54 if (rt->rt6i_flags & (RTF_GATEWAY | RTF_CACHE)) { in ila_output()
344 return rt6->rt6i_flags & RTF_GATEWAY; in has_gateway()432 if (rt->rt6i_flags & RTF_GATEWAY && in addr6_resolve()
592 (!(tmp->flags&RTF_GATEWAY) || in atrtr_delete()1352 if (rt->flags & RTF_GATEWAY) { in atalk_route_packet()1676 !(rt->flags & RTF_GATEWAY) && !(dev->flags & IFF_LOOPBACK)) { in atalk_sendmsg()1711 if (rt->flags & RTF_GATEWAY) { in atalk_sendmsg()
553 if (rt->rt_flags & RTF_GATEWAY && in rtentry_to_fib_config()561 if (rt->rt_flags & RTF_GATEWAY && !cfg->fc_gw) in rtentry_to_fib_config()
397 rm.rt_flags = RTF_UP | RTF_GATEWAY; in ic_setup_routes()
2631 flags |= RTF_GATEWAY; in fib_flag_trans()
4757 return (rt->fib6_flags & (RTF_GATEWAY | RTF_ADDRCONF)) == RTF_GATEWAY; in mlxsw_sp_fib6_rt_can_mp()4897 return rt->fib6_flags & RTF_GATEWAY || in mlxsw_sp_rt6_is_gateway()
4440 if (f6i->fib6_flags & RTF_GATEWAY) in bpf_ipv6_fib_lookup()