Searched refs:RTF_GATEWAY (Results 1 – 8 of 8) sorted by relevance
216 if (!(rt->rt_flags & RTF_GATEWAY)) { in get_next_params()218 rt->rt_flags |= RTF_GATEWAY; in get_next_params()334 if (!(rt->rtmsg_flags & RTF_GATEWAY)) { in get_next_params_inet6()337 rt->rtmsg_flags |= RTF_GATEWAY; in get_next_params_inet6()
52 #define RTF_GATEWAY 0x0002 /* destination is a gateway */ macro
276 RTF_GATEWAY, RTF_HOST, RTF_REINSTATE, RTF_DYNAMIC, RTF_MODIFIED in display_routes()
2056 rt.rt_flags = RTF_GATEWAY;2085 rt.rt_flags = RTF_GATEWAY;
1629 if (rt.rt_flags & RTF_GATEWAY) in sifdefaultroute()
1502 rt.rt_flags = RTF_UP | RTF_GATEWAY; in rtioctl()
1947 pub const RTF_GATEWAY: ::c_ushort = 0x0002; constant
2857 pub const RTF_GATEWAY: ::c_int = 0x2; constant