Searched refs:RTF_GATEWAY (Results 1 – 7 of 7) sorted by relevance
216 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()
51 #define RTF_GATEWAY 0x0002 /* destination is a gateway */ macro
533 !(~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()
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()