Home
last modified time | relevance | path

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

/linux-2.4.37.9/include/linux/
Droute.h52 #define RTF_GATEWAY 0x0002 /* destination is a gateway */ macro
/linux-2.4.37.9/net/ipv6/
Droute.c358 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()
Dip6_output.c786 if ((rt->rt6i_flags & RTF_GATEWAY)) in ip6_forward()
Dndisc.c1211 if (rt->rt6i_flags & RTF_GATEWAY) { in ndisc_send_redirect()
Daddrconf.c1009 if (rt && ((rt->rt6i_flags & (RTF_GATEWAY | RTF_DEFAULT)) == 0)) { in addrconf_prefix_rcv()
/linux-2.4.37.9/net/ipv4/
Dfib_semantics.c809 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()
Dipconfig.c335 rm.rt_flags = RTF_UP | RTF_GATEWAY; in ic_setup_routes()
/linux-2.4.37.9/net/appletalk/
Dddp.c695 (!(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()
/linux-2.4.37.9/net/decnet/
Ddn_table.c751 flags |= RTF_GATEWAY; in dn_fib_flag_trans()
/linux-2.4.37.9/net/ipx/
Daf_ipx.c1629 if (!(rt.rt_flags & RTF_GATEWAY) || /* Direct routes are fixed */ in ipxrtr_ioctl()