Home
last modified time | relevance | path

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

12

/dragonfly/sys/net/
H A Droute.c392 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 Droute.h166 #define RTF_GATEWAY 0x2 /* destination is a gateway */ macro
/dragonfly/sbin/route/
H A Dshow.c66 { RTF_GATEWAY, 'G' },
203 int af = 0, interesting = RTF_UP | RTF_GATEWAY | RTF_HOST; in p_rtentry()
H A Droute.c286 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 Drtmsg.c151 !(rtm->rtm_flags & RTF_GATEWAY)) switch (sdl->sdl_type) { in bsd_arp_set()
/dragonfly/sys/netinet6/
H A Dnd6.c106 (((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 Dip6_forward.c231 if (rt->rt_flags & RTF_GATEWAY) in ip6_forward()
H A Din6_rmx.c207 if ((rt2->rt_flags & (RTF_CLONING|RTF_HOST|RTF_GATEWAY)) in in6_addroute()
H A Dicmp6.c2333 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 Dnd6_rtr.c465 (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 Dip6_input.c469 (RTF_HOST|RTF_GATEWAY)) == RTF_HOST && in ip6_input()
/dragonfly/usr.sbin/ppp/
H A Droute.c155 { 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 Darp.c337 !(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 Dif_ether.c230 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 Dip_flow.c280 if (rt->rt_flags & RTF_GATEWAY) in ipflow_fastforward()
H A Dip_icmp.c447 #define ICMP_RTREDIRECT_FLAGS (RTF_GATEWAY | RTF_HOST)
H A Dip_output.c338 if (ro->ro_rt->rt_flags & RTF_GATEWAY) in ip_output()
/dragonfly/usr.bin/netstat/
H A Droute.c76 { RTF_GATEWAY, 'G' },
562 int af1 = 0, interesting = RTF_UP | RTF_GATEWAY | RTF_HOST; in np_rtentry()
/dragonfly/sbin/routed/
H A Dtable.c906 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 Dndp.c433 !(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 Dnetflow.c276 if (rt->rt_flags & RTF_GATEWAY && in hash_insert()
/dragonfly/contrib/dhcpcd/src/
H A Dif-bsd.c773 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 Droute6d.c1234 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 Dnfs_vfsops.c642 RTF_UP | RTF_GATEWAY); in nfs_mountroot()
H A Dbootp_subr.c1148 (RTF_UP | RTF_GATEWAY | RTF_STATIC)); in bootpc_adjust_interface()

12