Home
last modified time | relevance | path

Searched refs:RTF_GATEWAY (Results 1 – 15 of 15) sorted by relevance

/Linux-v4.19/include/uapi/linux/
Droute.h52 #define RTF_GATEWAY 0x0002 /* destination is a gateway */ macro
/Linux-v4.19/include/net/
Dip6_route.h71 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()
/Linux-v4.19/net/ipv6/
Droute.c537 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 …]
Dip6_output.c495 if (rt->rt6i_flags & RTF_GATEWAY) in ip6_forward()
Dndisc.c1614 if (rt->rt6i_flags & RTF_GATEWAY) { in ndisc_send_redirect()
Daddrconf.c1183 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()
Dip6_fib.c2268 if (rt->fib6_flags & RTF_GATEWAY) in ipv6_route_seq_show()
/Linux-v4.19/net/ipv6/ila/
Dila_lwt.c54 if (rt->rt6i_flags & (RTF_GATEWAY | RTF_CACHE)) { in ila_output()
/Linux-v4.19/drivers/infiniband/core/
Daddr.c344 return rt6->rt6i_flags & RTF_GATEWAY; in has_gateway()
432 if (rt->rt6i_flags & RTF_GATEWAY && in addr6_resolve()
/Linux-v4.19/net/appletalk/
Dddp.c592 (!(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()
/Linux-v4.19/net/ipv4/
Dfib_frontend.c553 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()
Dipconfig.c397 rm.rt_flags = RTF_UP | RTF_GATEWAY; in ic_setup_routes()
Dfib_trie.c2631 flags |= RTF_GATEWAY; in fib_flag_trans()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c4757 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()
/Linux-v4.19/net/core/
Dfilter.c4440 if (f6i->fib6_flags & RTF_GATEWAY) in bpf_ipv6_fib_lookup()