Home
last modified time | relevance | path

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

/linux/include/uapi/linux/
H A Droute.h52 #define RTF_GATEWAY 0x0002 /* destination is a gateway */ macro
/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_tracing_net.h99 #define RTF_GATEWAY 0x0002 macro
/linux/net/ipv6/
H A Droute.c1187 rt->rt6i_flags |= RTF_GATEWAY; in ip6_rt_copy_init()
2109 #define RTF_CACHE_GATEWAY (RTF_GATEWAY | RTF_CACHE)
2170 if (rt->rt6i_flags & RTF_GATEWAY) { in rt6_age_examine_exception()
3663 if (cfg->fc_flags & RTF_GATEWAY) { in fib6_nh_init()
3860 rt->fib6_flags = cfg->fc_flags & ~RTF_GATEWAY; in ip6_route_info_create()
4103 if (cfg->fc_flags & RTF_GATEWAY && in __ip6_del_cached_rt()
4221 if (cfg->fc_flags & RTF_GATEWAY && in ip6_route_del()
4228 if (cfg->fc_flags & RTF_GATEWAY) in ip6_route_del()
4361 nrt->rt6i_flags = RTF_GATEWAY|RTF_UP|RTF_DYNAMIC|RTF_CACHE; in rt6_do_redirect()
4363 nrt->rt6i_flags &= ~RTF_GATEWAY; in rt6_do_redirect()
[all...]
H A Dndisc.c1707 if (rt->rt6i_flags & RTF_GATEWAY) { in ndisc_send_redirect()
H A Dip6_output.c635 if (rt->rt6i_flags & RTF_GATEWAY) in ip6_forward()
H A Dip6_fib.c2623 flags |= RTF_GATEWAY; in ipv6_route_native_seq_show()
/linux/net/ipv6/ila/
H A Dila_lwt.c54 if (rt->rt6i_flags & (RTF_GATEWAY | RTF_CACHE)) { in ila_output()
/linux/drivers/net/ovpn/
H A Dpeer.c436 if (!rt || !(rt->rt6i_flags & RTF_GATEWAY)) in ovpn_nexthop_from_skb6()
843 if (!(rt->rt6i_flags & RTF_GATEWAY)) in ovpn_nexthop_from_rt6()
/linux/net/ipv4/
H A Dfib_frontend.c601 if (rt->rt_flags & RTF_GATEWAY && in rtentry_to_fib_config()
612 if (rt->rt_flags & RTF_GATEWAY && !cfg->fc_gw_family) in rtentry_to_fib_config()
H A Dipconfig.c423 rm.rt_flags = RTF_UP | RTF_GATEWAY; in ic_setup_routes()
H A Dfib_semantics.c1107 .fc_flags = nh->fib_nh_flags | RTF_GATEWAY, in fib_check_nh_v6_gw()
H A Dfib_trie.c2924 flags |= RTF_GATEWAY; in fib_flag_trans()
H A Dnexthop.c2935 fib6_cfg.fc_flags |= RTF_GATEWAY; in nh_create_ipv6()