Searched refs:RTF_GATEWAY (Results 1 - 25 of 44) sorted by relevance

12

/freebsd-9.3-release/usr.sbin/IPXrouted/
H A Dtables.c150 rt->rt_flags |= RTF_GATEWAY;
203 rt->rt_flags |= RTF_GATEWAY;
300 rt->rt_flags |= RTF_GATEWAY;
302 rt->rt_flags &= ~RTF_GATEWAY;
H A Doutput.c186 if ((rt->rt_flags & (RTF_HOST|RTF_GATEWAY)) == RTF_HOST)
H A Dtrace.c173 { RTF_GATEWAY, "GATEWAY" },
233 { RTF_GATEWAY, "GATEWAY" },
/freebsd-9.3-release/contrib/traceroute/
H A Dfindsaddr-socket.c92 RTF_UP | RTF_GATEWAY | RTF_HOST | RTF_STATIC,
/freebsd-9.3-release/sys/netinet/
H A Dif_atm.c106 if (rt->rt_flags & RTF_GATEWAY) /* link level requests only */
336 if ((rt->rt_flags & RTF_GATEWAY) != 0 ||
H A Dip_fastfwd.c138 if (rt->rt_flags & RTF_GATEWAY)
/freebsd-9.3-release/sys/net/
H A Droute.c586 if (rt->rt_flags & RTF_GATEWAY) {
596 flags |= RTF_GATEWAY | RTF_DYNAMIC;
703 if ((flags & RTF_GATEWAY) == 0) {
997 if (rt->rt_flags & RTF_GATEWAY) {
1040 } else if (rt->rt_flags & RTF_GATEWAY) {
1230 if ((flags & RTF_GATEWAY) && !gateway)
H A Droute.h156 #define RTF_GATEWAY 0x2 /* destination is a gateway */ macro
H A Drtsock.c620 * RTF_GATEWAY flag must be cleared or the destination will
643 info.rti_flags &= ~RTF_GATEWAY;
834 if (((rt->rt_flags & RTF_GATEWAY) &&
875 rt->rt_flags |= (RTF_GATEWAY & info.rti_flags);
H A Dflowtable.c1256 if (rt->rt_flags & RTF_GATEWAY)
1266 if (rt->rt_flags & RTF_GATEWAY)
/freebsd-9.3-release/libexec/bootpd/
H A Drtmsg.c155 !(rtm->rtm_flags & RTF_GATEWAY)) switch (sdl->sdl_type) {
/freebsd-9.3-release/sys/netinet6/
H A Din6_rmx.c159 if (((rt2->rt_flags & (RTF_HOST|RTF_GATEWAY)) == 0)
H A Dip6_forward.c480 if (rt->rt_flags & RTF_GATEWAY)
H A Dicmp6.c2519 RTF_GATEWAY | RTF_HOST, (struct sockaddr *)&ssrc,
2629 if (rt->rt_gateway && (rt->rt_flags & RTF_GATEWAY)) {
2655 if (rt->rt_flags & RTF_GATEWAY) {
/freebsd-9.3-release/sys/netipx/
H A Dipx_outputfl.c133 if (ro->ro_rt->rt_flags & (RTF_GATEWAY|RTF_HOST))
H A Dipx_usrreq.c331 if ((ro->ro_rt->rt_flags & RTF_GATEWAY) == 0) {
/freebsd-9.3-release/usr.sbin/arp/
H A Darp.c392 (rtm->rtm_flags & RTF_GATEWAY) ||
471 !(rtm->rtm_flags & RTF_GATEWAY) &&
/freebsd-9.3-release/usr.sbin/ppp/
H A Droute.c154 { RTF_GATEWAY, 'G' },
450 (all || (rtm->rtm_flags & RTF_GATEWAY))) {
774 rtmes.m_rtm.rtm_flags = RTF_UP | RTF_GATEWAY | RTF_STATIC;
/freebsd-9.3-release/sys/dev/cxgbe/tom/
H A Dt4_connect.c346 rt->rt_flags & RTF_GATEWAY ? rt->rt_gateway : nam);
/freebsd-9.3-release/usr.bin/netstat/
H A Droute.c82 { RTF_GATEWAY, 'G' },
557 int af1 = 0, interesting = RTF_UP | RTF_GATEWAY | RTF_HOST;
/freebsd-9.3-release/sbin/route/
H A Droute.c488 if ((rtm->rtm_flags & RTF_GATEWAY) == 0)
992 flags |= RTF_GATEWAY;
1818 if (gate && rtm->rtm_flags & RTF_GATEWAY)
/freebsd-9.3-release/sbin/routed/
H A Dtable.c924 if (rtm->rtm_flags & RTF_GATEWAY)
1531 ? RTF_GATEWAY : 0));
1536 ? RTF_GATEWAY : 0));
/freebsd-9.3-release/sys/netgraph/netflow/
H A Dnetflow.c369 if (rt->rt_flags & RTF_GATEWAY &&
460 if (rt->rt_flags & RTF_GATEWAY &&
/freebsd-9.3-release/usr.sbin/ndp/
H A Dndp.c435 !(rtm->rtm_flags & RTF_GATEWAY)) {
537 !(rtm->rtm_flags & RTF_GATEWAY)) {
/freebsd-9.3-release/usr.sbin/route6d/
H A Droute6d.c1430 rrt->rrt_flags = RTF_UP|RTF_GATEWAY;
2533 RTFLAG("G", RTF_GATEWAY);
2704 if (!(rtm->rtm_flags & (RTF_GATEWAY|RTF_HOST|RTF_STATIC)))
2757 if ((rtm->rtm_flags & (RTF_HOST|RTF_GATEWAY)) == RTF_HOST)
2936 rtm->rtm_flags = RTF_UP | RTF_GATEWAY;

Completed in 449 milliseconds

12