Home
last modified time | relevance | path

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

12

/mirbsd/src/sys/netinet/
Dif_atm.c93 if (rt->rt_flags & RTF_GATEWAY) /* link level requests only */
244 if ((rt->rt_flags & RTF_GATEWAY) != 0 ||
Dip_icmp.c567 (struct sockaddr *)0, RTF_GATEWAY | RTF_HOST, in icmp_input()
854 RTF_GATEWAY | RTF_HOST | RTF_DYNAMIC, &nrt); in icmp_mtudisc_clone()
Dif_ether.c167 if (rt->rt_flags & RTF_GATEWAY) {
749 if ((rt->rt_flags & RTF_GATEWAY) || (rt->rt_flags & RTF_LLINFO) == 0 ||
Dip_input.c1283 if ((rt->rt_flags & RTF_GATEWAY) || (rt->rt_flags & RTF_LLINFO) == 0 ||
1506 if (rt->rt_flags & RTF_GATEWAY)
/mirbsd/src/sys/net/
Droute.c201 if (howstrict == ONNET_CLONING && !(flags & RTF_GATEWAY)) in okaytoclone()
405 if (rt->rt_flags & RTF_GATEWAY) { in rtredirect()
414 flags |= RTF_GATEWAY | RTF_DYNAMIC; in rtredirect()
539 if ((flags & RTF_GATEWAY) == 0) { in ifa_ifwithroute()
568 if ((rt->rt_flags & RTF_GATEWAY) && in ifa_ifwithroute()
845 if (rt->rt_flags & RTF_GATEWAY) { in rt_setgate()
Droute.h124 #define RTF_GATEWAY 0x2 /* destination is a gateway */ macro
Dif_atmsubr.c160 if (rt->rt_flags & RTF_GATEWAY) {
Dif_fddisubr.c165 if (rt->rt_flags & RTF_GATEWAY) {
Dif_arcsubr.c119 if (rt->rt_flags & RTF_GATEWAY) {
Dif_tokensubr.c162 if (rt->rt_flags & RTF_GATEWAY) {
/mirbsd/src/usr.sbin/arp/
Darp.c300 !(rtm->rtm_flags & RTF_GATEWAY)) in set()
385 !(rtm->rtm_flags & RTF_GATEWAY)) in delete()
/mirbsd/src/usr.sbin/rarpd/
Darptab.c130 !(rtm->rtm_flags & RTF_GATEWAY)) in arptab_set()
/mirbsd/src/sys/netinet6/
Dnd6.c761 if ((rt->rt_flags & RTF_GATEWAY) || (rt->rt_flags & RTF_LLINFO) == 0 ||
967 if ((rt->rt_flags & RTF_GATEWAY) != 0 ||
1009 if ((rt->rt_flags & RTF_GATEWAY) != 0)
1518 if ((rt->rt_flags & (RTF_GATEWAY | RTF_LLINFO)) != RTF_LLINFO) {
1759 if (rt->rt_flags & RTF_GATEWAY) {
Dicmp6.c2354 (struct sockaddr *)NULL, RTF_GATEWAY | RTF_HOST,
2466 if (rt->rt_gateway && (rt->rt_flags & RTF_GATEWAY)) {
2492 if (rt->rt_flags & RTF_GATEWAY) {
2530 if (!(rt_nexthop->rt_flags & RTF_GATEWAY) &&
2787 RTF_GATEWAY | RTF_HOST | RTF_DYNAMIC, &nrt);
2830 if ((rt->rt_flags & (RTF_GATEWAY | RTF_DYNAMIC | RTF_HOST)) ==
2831 (RTF_GATEWAY | RTF_DYNAMIC | RTF_HOST)) {
Dip6_forward.c352 if (rt->rt_flags & RTF_GATEWAY)
Dnd6_rtr.c461 RTF_GATEWAY, &newrt);
561 (struct sockaddr *)&mask, RTF_GATEWAY, &oldrt);
/mirbsd/src/sys/netipx/
Dipx_outputfl.c112 if (ro->ro_rt->rt_flags & (RTF_GATEWAY|RTF_HOST))
/mirbsd/src/usr.sbin/ppp/ppp/
Droute.c154 { RTF_GATEWAY, 'G' },
442 (all || (rtm->rtm_flags & RTF_GATEWAY))) { in route_IfDelete()
765 rtmes.m_rtm.rtm_flags = RTF_UP | RTF_GATEWAY | RTF_STATIC; in rt_Set()
/mirbsd/src/sbin/route/
Droute.c263 if ((rtm->rtm_flags & (RTF_GATEWAY|RTF_STATIC|RTF_LLINFO)) == 0) in flushroutes()
539 flags |= RTF_GATEWAY; in newroute()
1215 if (gate && rtm->rtm_flags & RTF_GATEWAY) in print_getmsg()
Dshow.c81 { RTF_GATEWAY, 'G' },
/mirbsd/src/usr.bin/netstat/
Droute.c95 { RTF_GATEWAY, 'G' },
420 int af = 0, interesting = RTF_UP | RTF_GATEWAY | RTF_HOST; in np_rtentry()
/mirbsd/src/sys/nfs/
Dnfs_boot.c249 &mask, (RTF_UP | RTF_GATEWAY | RTF_STATIC), NULL);
/mirbsd/src/usr.sbin/ndp/
Dndp.c425 !(rtm->rtm_flags & RTF_GATEWAY)) { in set()
524 !(rtm->rtm_flags & RTF_GATEWAY)) { in delete()
/mirbsd/src/usr.sbin/route6d/
Droute6d.c1296 rrt->rrt_flags = RTF_UP|RTF_GATEWAY; in riprecv()
2351 RTFLAG("G", RTF_GATEWAY); in rtflags()
2564 if ((rtm->rtm_flags & (RTF_HOST|RTF_GATEWAY)) == RTF_HOST) in rt_entry()
2744 rtm->rtm_flags = RTF_UP | RTF_GATEWAY; in delroute()
/mirbsd/src/sbin/routed/
Dtable.c851 if (rtm->rtm_flags & RTF_GATEWAY) in rtm_add()
1358 flags |= RTF_GATEWAY; in fix_kern()

12