Searched refs:RTF_GATEWAY (Results 1 – 25 of 32) sorted by relevance
12
| /mirbsd/src/sys/netinet/ |
| D | if_atm.c | 93 if (rt->rt_flags & RTF_GATEWAY) /* link level requests only */ 244 if ((rt->rt_flags & RTF_GATEWAY) != 0 ||
|
| D | ip_icmp.c | 567 (struct sockaddr *)0, RTF_GATEWAY | RTF_HOST, in icmp_input() 854 RTF_GATEWAY | RTF_HOST | RTF_DYNAMIC, &nrt); in icmp_mtudisc_clone()
|
| D | if_ether.c | 167 if (rt->rt_flags & RTF_GATEWAY) { 749 if ((rt->rt_flags & RTF_GATEWAY) || (rt->rt_flags & RTF_LLINFO) == 0 ||
|
| D | ip_input.c | 1283 if ((rt->rt_flags & RTF_GATEWAY) || (rt->rt_flags & RTF_LLINFO) == 0 || 1506 if (rt->rt_flags & RTF_GATEWAY)
|
| /mirbsd/src/sys/net/ |
| D | route.c | 201 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()
|
| D | route.h | 124 #define RTF_GATEWAY 0x2 /* destination is a gateway */ macro
|
| D | if_atmsubr.c | 160 if (rt->rt_flags & RTF_GATEWAY) {
|
| D | if_fddisubr.c | 165 if (rt->rt_flags & RTF_GATEWAY) {
|
| D | if_arcsubr.c | 119 if (rt->rt_flags & RTF_GATEWAY) {
|
| D | if_tokensubr.c | 162 if (rt->rt_flags & RTF_GATEWAY) {
|
| /mirbsd/src/usr.sbin/arp/ |
| D | arp.c | 300 !(rtm->rtm_flags & RTF_GATEWAY)) in set() 385 !(rtm->rtm_flags & RTF_GATEWAY)) in delete()
|
| /mirbsd/src/usr.sbin/rarpd/ |
| D | arptab.c | 130 !(rtm->rtm_flags & RTF_GATEWAY)) in arptab_set()
|
| /mirbsd/src/sys/netinet6/ |
| D | nd6.c | 761 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) {
|
| D | icmp6.c | 2354 (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)) {
|
| D | ip6_forward.c | 352 if (rt->rt_flags & RTF_GATEWAY)
|
| D | nd6_rtr.c | 461 RTF_GATEWAY, &newrt); 561 (struct sockaddr *)&mask, RTF_GATEWAY, &oldrt);
|
| /mirbsd/src/sys/netipx/ |
| D | ipx_outputfl.c | 112 if (ro->ro_rt->rt_flags & (RTF_GATEWAY|RTF_HOST))
|
| /mirbsd/src/usr.sbin/ppp/ppp/ |
| D | route.c | 154 { 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/ |
| D | route.c | 263 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()
|
| D | show.c | 81 { RTF_GATEWAY, 'G' },
|
| /mirbsd/src/usr.bin/netstat/ |
| D | route.c | 95 { RTF_GATEWAY, 'G' }, 420 int af = 0, interesting = RTF_UP | RTF_GATEWAY | RTF_HOST; in np_rtentry()
|
| /mirbsd/src/sys/nfs/ |
| D | nfs_boot.c | 249 &mask, (RTF_UP | RTF_GATEWAY | RTF_STATIC), NULL);
|
| /mirbsd/src/usr.sbin/ndp/ |
| D | ndp.c | 425 !(rtm->rtm_flags & RTF_GATEWAY)) { in set() 524 !(rtm->rtm_flags & RTF_GATEWAY)) { in delete()
|
| /mirbsd/src/usr.sbin/route6d/ |
| D | route6d.c | 1296 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/ |
| D | table.c | 851 if (rtm->rtm_flags & RTF_GATEWAY) in rtm_add() 1358 flags |= RTF_GATEWAY; in fix_kern()
|
12