Home
last modified time | relevance | path

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

/Linux-v5.4/include/uapi/linux/
Droute.h52 #define RTF_GATEWAY 0x0002 /* destination is a gateway */ macro
/Linux-v5.4/net/ipv6/ila/
Dila_lwt.c54 if (rt->rt6i_flags & (RTF_GATEWAY | RTF_CACHE)) { in ila_output()
/Linux-v5.4/net/ipv6/
Droute.c1141 rt->rt6i_flags |= RTF_GATEWAY; in ip6_rt_copy_init()
2017 #define RTF_CACHE_GATEWAY (RTF_GATEWAY | RTF_CACHE)
2077 if (rt->rt6i_flags & RTF_GATEWAY) { in rt6_age_examine_exception()
3444 if (cfg->fc_flags & RTF_GATEWAY) { in fib6_nh_init()
3639 rt->fib6_flags = cfg->fc_flags & ~RTF_GATEWAY; in ip6_route_info_create()
3805 if (cfg->fc_flags & RTF_GATEWAY && in __ip6_del_cached_rt()
3922 if (cfg->fc_flags & RTF_GATEWAY && in ip6_route_del()
3930 if (cfg->fc_flags & RTF_GATEWAY) in ip6_route_del()
4060 nrt->rt6i_flags = RTF_GATEWAY|RTF_UP|RTF_DYNAMIC|RTF_CACHE; in rt6_do_redirect()
4062 nrt->rt6i_flags &= ~RTF_GATEWAY; in rt6_do_redirect()
[all …]
Dndisc.c1627 if (rt->rt6i_flags & RTF_GATEWAY) { in ndisc_send_redirect()
Dip6_output.c513 if (rt->rt6i_flags & RTF_GATEWAY) in ip6_forward()
Dip6_fib.c2390 flags |= RTF_GATEWAY; in ipv6_route_seq_show()
/Linux-v5.4/net/appletalk/
Dddp.c587 (!(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-v5.4/include/net/
Dip6_route.h287 if (rt->rt6i_flags & RTF_GATEWAY) in rt6_nexthop()
/Linux-v5.4/drivers/infiniband/core/
Daddr.c359 return rt6->rt6i_flags & RTF_GATEWAY; in has_gateway()
/Linux-v5.4/net/ipv4/
Dfib_frontend.c577 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.c399 rm.rt_flags = RTF_UP | RTF_GATEWAY; in ic_setup_routes()
Dnexthop.c1191 fib6_cfg.fc_flags |= RTF_GATEWAY; in nh_create_ipv6()
Dfib_semantics.c991 .fc_flags = nh->fib_nh_flags | RTF_GATEWAY, in fib_check_nh_v6_gw()
Dfib_trie.c2755 flags |= RTF_GATEWAY; in fib_flag_trans()