Home
last modified time | relevance | path

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

/external/toybox/toys/pending/
Droute.c216 if (!(rt->rt_flags & RTF_GATEWAY)) { in get_next_params()
218 rt->rt_flags |= RTF_GATEWAY; in get_next_params()
333 if (!(rt->rtmsg_flags & RTF_GATEWAY)) { in get_next_params_inet6()
336 rt->rtmsg_flags |= RTF_GATEWAY; in get_next_params_inet6()
/external/kernel-headers/original/uapi/linux/
Droute.h51 #define RTF_GATEWAY 0x0002 /* destination is a gateway */ macro
/external/dhcpcd-6.8.2/
Dif-bsd.c533 !(~rtm->rtm_flags & (RTF_HOST | RTF_GATEWAY))) in if_copyrt()
629 rtm.hdr.rtm_flags |= RTF_HOST | RTF_GATEWAY; in if_route()
636 rtm.hdr.rtm_flags |= RTF_GATEWAY; in if_route()
639 !(rtm.hdr.rtm_flags & RTF_GATEWAY)) in if_route()
922 !(~rtm->rtm_flags & (RTF_HOST | RTF_GATEWAY))) in if_copyrt6()
988 rtm.hdr.rtm_flags |= RTF_GATEWAY | RTF_STATIC; in if_route6()
/external/toybox/toys/net/
Dnetstat.c276 RTF_GATEWAY, RTF_HOST, RTF_REINSTATE, RTF_DYNAMIC, RTF_MODIFIED in display_routes()
/external/ppp/pppd/
Dsys-solaris.c2056 rt.rt_flags = RTF_GATEWAY;
2085 rt.rt_flags = RTF_GATEWAY;
Dsys-linux.c1629 if (rt.rt_flags & RTF_GATEWAY) in sifdefaultroute()
/external/iputils/
Drdisc.c1502 rt.rt_flags = RTF_UP | RTF_GATEWAY; in rtioctl()