Home
last modified time | relevance | path

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

/linux-6.12.1/include/uapi/linux/
Droute.h52 #define RTF_GATEWAY 0x0002 /* destination is a gateway */ macro
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dbpf_iter_ipv6_route.c41 flags |= RTF_GATEWAY; in dump_ipv6_route()
Dbpf_tracing_net.h89 #define RTF_GATEWAY 0x0002 macro
/linux-6.12.1/include/net/
Dip6_route.h262 !(rt->rt6i_flags & (RTF_GATEWAY | RTF_NONEXTHOP)) && in ipv6_anycast_destination()
304 if (rt->rt6i_flags & RTF_GATEWAY) in rt6_nexthop()
/linux-6.12.1/net/appletalk/
Dddp.c601 (!(tmp->flags&RTF_GATEWAY) || in atrtr_delete()
1340 if (rt->flags & RTF_GATEWAY) { in atalk_route_packet()
1624 (dev->flags & IFF_LOOPBACK || !(rt->flags & RTF_GATEWAY))) { in atalk_sendmsg()
1677 !(rt->flags & RTF_GATEWAY) && !(dev->flags & IFF_LOOPBACK)) { in atalk_sendmsg()
1706 if (rt->flags & RTF_GATEWAY) { in atalk_sendmsg()
/linux-6.12.1/net/ipv6/ila/
Dila_lwt.c54 if (rt->rt6i_flags & (RTF_GATEWAY | RTF_CACHE)) { in ila_output()
/linux-6.12.1/net/ipv6/
Droute.c1145 rt->rt6i_flags |= RTF_GATEWAY; in ip6_rt_copy_init()
2050 #define RTF_CACHE_GATEWAY (RTF_GATEWAY | RTF_CACHE)
2110 if (rt->rt6i_flags & RTF_GATEWAY) { in rt6_age_examine_exception()
3592 if (cfg->fc_flags & RTF_GATEWAY) { in fib6_nh_init()
3788 rt->fib6_flags = cfg->fc_flags & ~RTF_GATEWAY; in ip6_route_info_create()
3980 if (cfg->fc_flags & RTF_GATEWAY && in __ip6_del_cached_rt()
4097 if (cfg->fc_flags & RTF_GATEWAY && in ip6_route_del()
4105 if (cfg->fc_flags & RTF_GATEWAY) in ip6_route_del()
4236 nrt->rt6i_flags = RTF_GATEWAY|RTF_UP|RTF_DYNAMIC|RTF_CACHE; in rt6_do_redirect()
4238 nrt->rt6i_flags &= ~RTF_GATEWAY; in rt6_do_redirect()
[all …]
Dndisc.c1729 if (rt->rt6i_flags & RTF_GATEWAY) { in ndisc_send_redirect()
Dip6_output.c611 if (rt->rt6i_flags & RTF_GATEWAY) in ip6_forward()
Dip6_fib.c2559 flags |= RTF_GATEWAY; in ipv6_route_native_seq_show()
/linux-6.12.1/net/ipv4/
Dfib_frontend.c574 if (rt->rt_flags & RTF_GATEWAY && in rtentry_to_fib_config()
585 if (rt->rt_flags & RTF_GATEWAY && !cfg->fc_gw_family) in rtentry_to_fib_config()
Dipconfig.c423 rm.rt_flags = RTF_UP | RTF_GATEWAY; in ic_setup_routes()
Dfib_semantics.c1055 .fc_flags = nh->fib_nh_flags | RTF_GATEWAY, in fib_check_nh_v6_gw()
Dfib_trie.c2954 flags |= RTF_GATEWAY; in fib_flag_trans()
Dnexthop.c2838 fib6_cfg.fc_flags |= RTF_GATEWAY; in nh_create_ipv6()
/linux-6.12.1/drivers/infiniband/core/
Daddr.c354 return dst_rt6_info(dst)->rt6i_flags & RTF_GATEWAY; in has_gateway()