Home
last modified time | relevance | path

Searched refs:RTF_GATEWAY (Results 1 - 25 of 40) sorted by relevance

12

/kernel/linux/linux-5.10/include/uapi/linux/
H A Droute.h34 struct sockaddr rt_gateway; /* gateway addr (RTF_GATEWAY) */
52 #define RTF_GATEWAY 0x0002 /* destination is a gateway */ macro
/kernel/linux/linux-6.6/include/uapi/linux/
H A Droute.h34 struct sockaddr rt_gateway; /* gateway addr (RTF_GATEWAY) */
52 #define RTF_GATEWAY 0x0002 /* destination is a gateway */ macro
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Droute.h40 #define RTF_GATEWAY 0x0002 macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Droute.h40 #define RTF_GATEWAY 0x0002 macro
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Droute.h29 #define RTF_GATEWAY 0x0002 macro
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_ipv6_route.c42 flags |= RTF_GATEWAY; in dump_ipv6_route()
H A Dbpf_tracing_net.h15 #define RTF_GATEWAY 0x0002 macro
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_ipv6_route.c41 flags |= RTF_GATEWAY; in dump_ipv6_route()
H A Dbpf_tracing_net.h61 #define RTF_GATEWAY 0x0002 macro
/kernel/linux/common_modules/newip/examples/
H A Dnip_route_cfg_demo.c49 rt.rtmsg_flags |= RTF_GATEWAY; in nip_route_add()
H A Dnip_route.c46 rt.rtmsg_flags |= RTF_GATEWAY; in nip_route_add()
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
H A Droute.c141 if (rt->rt_flags & RTF_GATEWAY) in nip_nexthop()
537 if (cfg->fc_flags & RTF_GATEWAY) in nip_route_info_create()
665 if (cfg.fc_flags & RTF_GATEWAY) { in nip_route_ioctl()
717 if (rt->rt_flags & RTF_GATEWAY) in nip_choose_neigh_daddr()
/kernel/linux/linux-5.10/include/net/
H A Dip6_route.h258 !(rt->rt6i_flags & (RTF_GATEWAY | RTF_NONEXTHOP)) && in ipv6_anycast_destination()
296 if (rt->rt6i_flags & RTF_GATEWAY) in rt6_nexthop()
/kernel/linux/linux-6.6/include/net/
H A Dip6_route.h255 !(rt->rt6i_flags & (RTF_GATEWAY | RTF_NONEXTHOP)) && in ipv6_anycast_destination()
293 if (rt->rt6i_flags & RTF_GATEWAY) in rt6_nexthop()
/kernel/linux/linux-5.10/net/appletalk/
H A Dddp.c588 (!(tmp->flags&RTF_GATEWAY) || in atrtr_delete()
1360 if (rt->flags & RTF_GATEWAY) { in atalk_route_packet()
1646 (dev->flags & IFF_LOOPBACK || !(rt->flags & RTF_GATEWAY))) { in atalk_sendmsg()
1699 !(rt->flags & RTF_GATEWAY) && !(dev->flags & IFF_LOOPBACK)) { in atalk_sendmsg()
1728 if (rt->flags & RTF_GATEWAY) { in atalk_sendmsg()
/kernel/linux/linux-6.6/net/appletalk/
H A Dddp.c588 (!(tmp->flags&RTF_GATEWAY) || in atrtr_delete()
1360 if (rt->flags & RTF_GATEWAY) { in atalk_route_packet()
1647 (dev->flags & IFF_LOOPBACK || !(rt->flags & RTF_GATEWAY))) { in atalk_sendmsg()
1700 !(rt->flags & RTF_GATEWAY) && !(dev->flags & IFF_LOOPBACK)) { in atalk_sendmsg()
1729 if (rt->flags & RTF_GATEWAY) { in atalk_sendmsg()
/kernel/linux/linux-5.10/net/ipv6/ila/
H A Dila_lwt.c54 if (rt->rt6i_flags & (RTF_GATEWAY | RTF_CACHE)) { in ila_output()
/kernel/linux/linux-6.6/net/ipv6/ila/
H A Dila_lwt.c54 if (rt->rt6i_flags & (RTF_GATEWAY | RTF_CACHE)) { in ila_output()
/kernel/linux/linux-5.10/net/ipv6/
H A Droute.c1131 rt->rt6i_flags |= RTF_GATEWAY; in ip6_rt_copy_init()
2039 #define RTF_CACHE_GATEWAY (RTF_GATEWAY | RTF_CACHE)
2099 if (rt->rt6i_flags & RTF_GATEWAY) { in rt6_age_examine_exception()
3480 if (cfg->fc_flags & RTF_GATEWAY) { in fib6_nh_init()
3694 rt->fib6_flags = cfg->fc_flags & ~RTF_GATEWAY; in ip6_route_info_create()
3886 if (cfg->fc_flags & RTF_GATEWAY && in __ip6_del_cached_rt()
4003 if (cfg->fc_flags & RTF_GATEWAY && in ip6_route_del()
4011 if (cfg->fc_flags & RTF_GATEWAY) in ip6_route_del()
4141 nrt->rt6i_flags = RTF_GATEWAY|RTF_UP|RTF_DYNAMIC|RTF_CACHE; in rt6_do_redirect()
4143 nrt->rt6i_flags &= ~RTF_GATEWAY; in rt6_do_redirect()
[all...]
/kernel/linux/linux-6.6/net/ipv6/
H A Droute.c1134 rt->rt6i_flags |= RTF_GATEWAY; in ip6_rt_copy_init()
2038 #define RTF_CACHE_GATEWAY (RTF_GATEWAY | RTF_CACHE)
2098 if (rt->rt6i_flags & RTF_GATEWAY) { in rt6_age_examine_exception()
3580 if (cfg->fc_flags & RTF_GATEWAY) { in fib6_nh_init()
3778 rt->fib6_flags = cfg->fc_flags & ~RTF_GATEWAY; in ip6_route_info_create()
3970 if (cfg->fc_flags & RTF_GATEWAY && in __ip6_del_cached_rt()
4087 if (cfg->fc_flags & RTF_GATEWAY && in ip6_route_del()
4095 if (cfg->fc_flags & RTF_GATEWAY) in ip6_route_del()
4225 nrt->rt6i_flags = RTF_GATEWAY|RTF_UP|RTF_DYNAMIC|RTF_CACHE; in rt6_do_redirect()
4227 nrt->rt6i_flags &= ~RTF_GATEWAY; in rt6_do_redirect()
[all...]
/kernel/liteos_a/testsuites/unittest/container/
H A DIt_container_test.cpp187 rt.rt_flags = RTF_GATEWAY; in TryResetNetAddr()
/kernel/linux/linux-5.10/drivers/infiniband/core/
H A Daddr.c361 return rt6->rt6i_flags & RTF_GATEWAY; in has_gateway()
/kernel/linux/linux-6.6/drivers/infiniband/core/
H A Daddr.c360 return rt6->rt6i_flags & RTF_GATEWAY; in has_gateway()
/kernel/linux/linux-5.10/net/ipv4/
H A Dfib_frontend.c571 if (rt->rt_flags & RTF_GATEWAY && in rtentry_to_fib_config()
582 if (rt->rt_flags & RTF_GATEWAY && !cfg->fc_gw_family) in rtentry_to_fib_config()
/kernel/linux/linux-6.6/net/ipv4/
H A 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()

Completed in 29 milliseconds

12