Searched refs:RTF_GATEWAY (Results 1 – 20 of 20) sorted by relevance
50 #define RTF_GATEWAY 0x0002 /* destination is a gateway */ macro
52 #define RTF_GATEWAY 0x0002 /* destination is a gateway */ macro
42 flags |= RTF_GATEWAY; in dump_ipv6_route()
15 #define RTF_GATEWAY 0x0002 macro
73 #define RTF_GATEWAY 0x0002 /* Destination is a gateway. */ macro
258 !(rt->rt6i_flags & (RTF_GATEWAY | RTF_NONEXTHOP)) && in ipv6_anycast_destination()296 if (rt->rt6i_flags & RTF_GATEWAY) in rt6_nexthop()
588 (!(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()
1128 rt->rt6i_flags |= RTF_GATEWAY; in ip6_rt_copy_init()2035 #define RTF_CACHE_GATEWAY (RTF_GATEWAY | RTF_CACHE)2095 if (rt->rt6i_flags & RTF_GATEWAY) { in rt6_age_examine_exception()3478 if (cfg->fc_flags & RTF_GATEWAY) { in fib6_nh_init()3673 rt->fib6_flags = cfg->fc_flags & ~RTF_GATEWAY; in ip6_route_info_create()3865 if (cfg->fc_flags & RTF_GATEWAY && in __ip6_del_cached_rt()3982 if (cfg->fc_flags & RTF_GATEWAY && in ip6_route_del()3990 if (cfg->fc_flags & RTF_GATEWAY) in ip6_route_del()4120 nrt->rt6i_flags = RTF_GATEWAY|RTF_UP|RTF_DYNAMIC|RTF_CACHE; in rt6_do_redirect()4122 nrt->rt6i_flags &= ~RTF_GATEWAY; in rt6_do_redirect()[all …]
1630 if (rt->rt6i_flags & RTF_GATEWAY) { in ndisc_send_redirect()
582 if (rt->rt6i_flags & RTF_GATEWAY) in ip6_forward()
2498 flags |= RTF_GATEWAY; in ipv6_route_native_seq_show()
54 if (rt->rt6i_flags & (RTF_GATEWAY | RTF_CACHE)) { in ila_output()
571 if (rt->rt_flags & RTF_GATEWAY && in rtentry_to_fib_config()579 if (rt->rt_flags & RTF_GATEWAY && !cfg->fc_gw_family) in rtentry_to_fib_config()
399 rm.rt_flags = RTF_UP | RTF_GATEWAY; in ic_setup_routes()
1354 fib6_cfg.fc_flags |= RTF_GATEWAY; in nh_create_ipv6()
1052 .fc_flags = nh->fib_nh_flags | RTF_GATEWAY, in fib_check_nh_v6_gw()
2905 flags |= RTF_GATEWAY; in fib_flag_trans()
361 return rt6->rt6i_flags & RTF_GATEWAY; in has_gateway()