Searched refs:RTF_GATEWAY (Results 1 – 10 of 10) sorted by relevance
52 #define RTF_GATEWAY 0x0002 /* destination is a gateway */ macro
358 if (!(rt->rt6i_flags&RTF_GATEWAY)) in rt6_cow()792 if (rtmsg->rtmsg_flags & RTF_GATEWAY) { in ip6_route_add()828 if (!(grt->rt6i_flags&RTF_GATEWAY)) in ip6_route_add()844 if (rtmsg->rtmsg_flags & (RTF_GATEWAY|RTF_NONEXTHOP)) { in ip6_route_add()914 if (rtmsg->rtmsg_flags&RTF_GATEWAY && in ip6_route_del()965 if (!(rt->rt6i_flags&RTF_GATEWAY)) in rt6_redirect()1008 nrt->rt6i_flags = RTF_GATEWAY|RTF_UP|RTF_DYNAMIC|RTF_CACHE; in rt6_redirect()1010 nrt->rt6i_flags &= ~RTF_GATEWAY; in rt6_redirect()1184 rtmsg.rtmsg_flags = RTF_GATEWAY | RTF_ADDRCONF | RTF_DEFAULT | RTF_UP; in rt6_add_dflt_router()1528 rtmsg->rtmsg_flags |= RTF_GATEWAY; in inet6_rtm_to_rtmsg()
786 if ((rt->rt6i_flags & RTF_GATEWAY)) in ip6_forward()
1211 if (rt->rt6i_flags & RTF_GATEWAY) { in ndisc_send_redirect()
1009 if (rt && ((rt->rt6i_flags & (RTF_GATEWAY | RTF_DEFAULT)) == 0)) { in addrconf_prefix_rcv()
809 if (r->rt_flags&RTF_GATEWAY && inet_addr_type(*ptr) == RTN_UNICAST) in fib_convert_rtentry()816 if (r->rt_flags&RTF_GATEWAY && rta->rta_gw == NULL) in fib_convert_rtentry()1014 flags |= RTF_GATEWAY; in fib_flag_trans()
335 rm.rt_flags = RTF_UP | RTF_GATEWAY; in ic_setup_routes()
695 (!(tmp->flags&RTF_GATEWAY) || in atrtr_delete()1453 if (rt->flags & RTF_GATEWAY) { in atalk_rcv()1726 !(rt->flags & RTF_GATEWAY) && !(dev->flags & IFF_LOOPBACK)) { in atalk_sendmsg()1752 if (rt->flags & RTF_GATEWAY) { in atalk_sendmsg()
751 flags |= RTF_GATEWAY; in dn_fib_flag_trans()
1629 if (!(rt.rt_flags & RTF_GATEWAY) || /* Direct routes are fixed */ in ipxrtr_ioctl()