/dragonfly/sys/net/ |
H A D | route.c | 392 if (!(rt->rt_flags & RTF_GATEWAY)) { in rtredirect_oncpu() 404 flags |= RTF_GATEWAY | RTF_DYNAMIC; in rtredirect_oncpu() 513 if (!(flags & RTF_GATEWAY)) { in ifa_ifwithroute() 632 else if ((flags & RTF_GATEWAY) != 0 && in rt_getifa() 894 KASSERT((!(rtinfo->rti_flags & RTF_GATEWAY) || in rtrequest1() 1193 if (((rt0->rt_flags & (RTF_HOST | RTF_GATEWAY | RTF_LLINFO)) == in rt_setgate() 1194 (RTF_HOST | RTF_GATEWAY)) && in rt_setgate() 1247 if (rt->rt_flags & RTF_GATEWAY) { in rt_setgate() 1321 if (up_rt->rt_flags & RTF_GATEWAY) { in rt_llroute()
|
H A D | route.h | 166 #define RTF_GATEWAY 0x2 /* destination is a gateway */ macro
|
/dragonfly/sbin/route/ |
H A D | show.c | 66 { RTF_GATEWAY, 'G' }, 203 int af = 0, interesting = RTF_UP | RTF_GATEWAY | RTF_HOST; in p_rtentry()
|
H A D | route.c | 286 if ((rtm->rtm_flags & RTF_GATEWAY) == 0) in flushroutes() 817 flags |= RTF_GATEWAY; in newroute() 1642 if (gate != NULL && rtm->rtm_flags & RTF_GATEWAY) in print_getmsg()
|
/dragonfly/libexec/bootpd/ |
H A D | rtmsg.c | 151 !(rtm->rtm_flags & RTF_GATEWAY)) switch (sdl->sdl_type) { in bsd_arp_set()
|
/dragonfly/sys/netinet6/ |
H A D | nd6.c | 106 (((rt)->rt_flags & RTF_GATEWAY) == 0 && \ 1145 if ((rt->rt_flags & RTF_GATEWAY) || in nd6_nud_hint() 1182 if ((rt->rt_flags & RTF_GATEWAY)) in nd6_rtrequest() 1733 if ((rt->rt_flags & (RTF_GATEWAY | RTF_LLINFO)) != RTF_LLINFO) { in nd6_cache_lladdr() 2105 return (rt != NULL && rt->rt_flags & RTF_GATEWAY) ? in nd6_resolve()
|
H A D | ip6_forward.c | 231 if (rt->rt_flags & RTF_GATEWAY) in ip6_forward()
|
H A D | in6_rmx.c | 207 if ((rt2->rt_flags & (RTF_CLONING|RTF_HOST|RTF_GATEWAY)) in in6_addroute()
|
H A D | icmp6.c | 2333 NULL, RTF_GATEWAY | RTF_HOST, in icmp6_redirect_input() 2435 if (rt->rt_gateway && (rt->rt_flags & RTF_GATEWAY)) { in icmp6_redirect_output() 2461 if (rt->rt_flags & RTF_GATEWAY) { in icmp6_redirect_output() 2501 if (!(rt_router->rt_flags & RTF_GATEWAY) && in icmp6_redirect_output()
|
H A D | nd6_rtr.c | 465 (struct sockaddr *)&gate, (struct sockaddr *)&mask, RTF_GATEWAY); in defrouter_addreq() 535 (struct sockaddr *)&gate, (struct sockaddr *)&mask, RTF_GATEWAY); in defrouter_delreq()
|
H A D | ip6_input.c | 469 (RTF_HOST|RTF_GATEWAY)) == RTF_HOST && in ip6_input()
|
/dragonfly/usr.sbin/ppp/ |
H A D | route.c | 155 { RTF_GATEWAY, 'G' }, 438 (all || (rtm->rtm_flags & RTF_GATEWAY))) { in route_IfDelete() 756 rtmes.m_rtm.rtm_flags = RTF_UP | RTF_GATEWAY | RTF_STATIC; in rt_Set()
|
/dragonfly/usr.sbin/arp/ |
H A D | arp.c | 337 !(rtm->rtm_flags & RTF_GATEWAY)) switch (sdl->sdl_type) { in set() 432 !(rtm->rtm_flags & RTF_GATEWAY)) switch (sdl->sdl_type) { in delete()
|
/dragonfly/sys/netinet/ |
H A D | if_ether.c | 230 if (rt->rt_flags & RTF_GATEWAY) in arp_rtrequest() 601 error = (rt != NULL && rt->rt_flags & RTF_GATEWAY) ? in arpresolve() 1325 if (rt->rt_flags & RTF_GATEWAY) in arplookup()
|
H A D | ip_flow.c | 280 if (rt->rt_flags & RTF_GATEWAY) in ipflow_fastforward()
|
H A D | ip_icmp.c | 447 #define ICMP_RTREDIRECT_FLAGS (RTF_GATEWAY | RTF_HOST)
|
H A D | ip_output.c | 338 if (ro->ro_rt->rt_flags & RTF_GATEWAY) in ip_output()
|
/dragonfly/usr.bin/netstat/ |
H A D | route.c | 76 { RTF_GATEWAY, 'G' }, 562 int af1 = 0, interesting = RTF_UP | RTF_GATEWAY | RTF_HOST; in np_rtentry()
|
/dragonfly/sbin/routed/ |
H A D | table.c | 906 if (rtm->rtm_flags & RTF_GATEWAY) in rtm_add() 1488 ? RTF_GATEWAY : 0)); in fix_kern() 1493 ? RTF_GATEWAY : 0)); in fix_kern()
|
/dragonfly/usr.sbin/ndp/ |
H A D | ndp.c | 433 !(rtm->rtm_flags & RTF_GATEWAY)) switch (sdl->sdl_type) { in set() 530 !(rtm->rtm_flags & RTF_GATEWAY)) { in delete()
|
/dragonfly/sys/netgraph7/netflow/ |
H A D | netflow.c | 276 if (rt->rt_flags & RTF_GATEWAY && in hash_insert()
|
/dragonfly/contrib/dhcpcd/src/ |
H A D | if-bsd.c | 773 rtm->rtm_flags |= RTF_GATEWAY; in if_route() 891 } else if (rtm->rtm_flags & RTF_GATEWAY) in if_copyrt()
|
/dragonfly/usr.sbin/route6d/ |
H A D | route6d.c | 1234 rrt->rrt_flags = RTF_UP|RTF_GATEWAY; in riprecv() 2270 RTFLAG("G", RTF_GATEWAY); in rtflags() 2665 rtm->rtm_flags = RTF_UP | RTF_GATEWAY; in delroute()
|
/dragonfly/sys/vfs/nfs/ |
H A D | nfs_vfsops.c | 642 RTF_UP | RTF_GATEWAY); in nfs_mountroot()
|
H A D | bootp_subr.c | 1148 (RTF_UP | RTF_GATEWAY | RTF_STATIC)); in bootpc_adjust_interface()
|