Home
last modified time | relevance | path

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

/linux-4.1.27/include/uapi/linux/
Droute.h51 #define RTF_GATEWAY 0x0002 /* destination is a gateway */ macro
/linux-4.1.27/net/ipv6/
Droute.c514 if (!rt || !(rt->rt6i_flags & RTF_GATEWAY)) in rt6_probe()
575 !(rt->rt6i_flags & RTF_GATEWAY)) in rt6_check_neigh()
960 if (!(rt->rt6i_flags & (RTF_NONEXTHOP | RTF_GATEWAY))) in ip6_pol_route()
1228 if (!(rt->rt6i_flags & RTF_GATEWAY)) in __ip6_route_redirect()
1646 if (cfg->fc_flags & RTF_GATEWAY) { in ip6_route_info_create()
1684 if (!(grt->rt6i_flags & RTF_GATEWAY)) in ip6_route_info_create()
1813 if (cfg->fc_flags & RTF_GATEWAY && in ip6_route_del()
1922 nrt->rt6i_flags = RTF_GATEWAY|RTF_UP|RTF_DYNAMIC|RTF_CACHE; in rt6_do_redirect()
1924 nrt->rt6i_flags &= ~RTF_GATEWAY; in rt6_do_redirect()
1971 if (ort->rt6i_flags & RTF_GATEWAY) in ip6_rt_copy()
[all …]
Dip6_fib.c628 return (rt->rt6i_flags & (RTF_GATEWAY|RTF_ADDRCONF|RTF_DYNAMIC)) == in rt6_qualify_for_ecmp()
629 RTF_GATEWAY; in rt6_qualify_for_ecmp()
1708 } else if (rt->rt6i_flags & RTF_GATEWAY) { in fib6_age()
1898 if (rt->rt6i_flags & RTF_GATEWAY) in ipv6_route_seq_show()
Dip6_output.c460 if (rt->rt6i_flags & RTF_GATEWAY) in ip6_forward()
Dndisc.c1502 if (rt->rt6i_flags & RTF_GATEWAY) { in ndisc_send_redirect()
Daddrconf.c1004 0, RTF_GATEWAY | RTF_DEFAULT); in cleanup_prefix_route()
2323 RTF_GATEWAY | RTF_DEFAULT); in addrconf_prefix_rcv()
/linux-4.1.27/net/ipx/
Dipx_route.c271 if (!(rt.rt_flags & RTF_GATEWAY) || /* Direct routes are fixed */ in ipxrtr_ioctl()
/linux-4.1.27/net/appletalk/
Dddp.c593 (!(tmp->flags&RTF_GATEWAY) || in atrtr_delete()
1354 if (rt->flags & RTF_GATEWAY) { in atalk_route_packet()
1678 !(rt->flags & RTF_GATEWAY) && !(dev->flags & IFF_LOOPBACK)) { in atalk_sendmsg()
1713 if (rt->flags & RTF_GATEWAY) { in atalk_sendmsg()
/linux-4.1.27/net/ipv4/
Dfib_frontend.c498 if (rt->rt_flags & RTF_GATEWAY && in rtentry_to_fib_config()
506 if (rt->rt_flags & RTF_GATEWAY && !cfg->fc_gw) in rtentry_to_fib_config()
Dipconfig.c423 rm.rt_flags = RTF_UP | RTF_GATEWAY; in ic_setup_routes()
Dfib_trie.c2535 flags |= RTF_GATEWAY; in fib_flag_trans()