Searched refs:RTF_GATEWAY (Results 1 – 25 of 36) sorted by relevance
12
| /netbsd/src/sbin/route/ |
| D | show.c | 136 RTF_CONNECTED | RTF_DYNAMIC | RTF_GATEWAY | RTF_HOST | RTF_LLDATA | in show()
|
| D | route.c | 343 if (!(rtm->rtm_flags & (RTF_GATEWAY | RTF_STATIC)) && !doall) in flushroutes() 645 flags |= RTF_GATEWAY; in newroute() 1569 if (gate && rtm->rtm_flags & RTF_GATEWAY) { in print_getmsg() 1624 return (rtm->rtm_addrs & RTF_GATEWAY) == 0; in print_getmsg()
|
| D | rtutil.c | 75 { RTF_GATEWAY, 'G' },
|
| /netbsd/src/sys/net/ |
| D | route.c | 134 #define PRESERVED_RTF (RTF_UP | RTF_GATEWAY | RTF_HOST | RTF_DONE | RTF_MASK) 878 if (rt->rt_flags & RTF_GATEWAY) { in rtredirect() 887 flags |= RTF_GATEWAY | RTF_DYNAMIC; in rtredirect() 988 if ((flags & RTF_GATEWAY) == 0) { in ifa_ifwithroute_psref() 1017 if (rt->rt_flags & RTF_GATEWAY) { in ifa_ifwithroute_psref() 1343 if (rt->rt_flags & RTF_GATEWAY) { in rt_setgate() 2301 return (rt->rt_flags & RTF_GATEWAY) ? in rt_check_reject_route()
|
| D | if_mpls.c | 434 if ((rt->rt_flags & RTF_GATEWAY) == 0 || in mpls_lse() 482 if ((rt->rt_flags & RTF_GATEWAY) == 0) { in mpls_lse()
|
| D | route.h | 154 #define RTF_GATEWAY 0x2 /* destination is a gateway */ macro
|
| D | nd.c | 402 error = (rt != NULL && rt->rt_flags & RTF_GATEWAY) ? in nd_resolve()
|
| /netbsd/src/share/examples/rump/virtual_ip_router/ |
| D | rumprouter.c | 136 rtm.rtm_flags = RTF_UP | RTF_GATEWAY | RTF_STATIC; in configure_routing()
|
| /netbsd/src/usr.sbin/rarpd/ |
| D | mkarp.c | 94 (rtflags & (RTF_LLDATA|RTF_GATEWAY)) != RTF_LLDATA) in is_llinfo()
|
| /netbsd/src/tests/net/config/ |
| D | netconfig.c | 149 rtm.rtm_flags = RTF_UP | RTF_GATEWAY | RTF_STATIC; in netcfg_rump_route()
|
| /netbsd/src/usr.bin/rump_dhcpclient/ |
| D | if-bsd.c | 228 rtm.hdr.rtm_flags |= RTF_GATEWAY; in if_route()
|
| /netbsd/src/sys/netinet6/ |
| D | icmp6.c | 2436 RTF_GATEWAY | RTF_HOST, sin6tosa(&ssrc), &newrt); in icmp6_redirect_input() 2554 if (rt->rt_gateway && (rt->rt_flags & RTF_GATEWAY)) { in icmp6_redirect_output() 2580 if (rt->rt_flags & RTF_GATEWAY) { in icmp6_redirect_output() 2832 RTF_GATEWAY | RTF_HOST | RTF_DYNAMIC, &nrt); in icmp6_mtudisc_clone() 2885 if ((rt->rt_flags & (RTF_GATEWAY | RTF_DYNAMIC | RTF_HOST)) == in icmp6_redirect_timeout() 2886 (RTF_GATEWAY | RTF_DYNAMIC | RTF_HOST)) { in icmp6_redirect_timeout()
|
| D | ip6_forward.c | 298 if (rt->rt_flags & RTF_GATEWAY) in ip6_forward()
|
| D | ip6_flow.c | 344 if (rt->rt_flags & RTF_GATEWAY) in ip6flow_fastforward()
|
| D | in6_src.c | 661 if (rt == NULL || (rt->rt_flags & RTF_GATEWAY) != 0 || in in6_selectroute()
|
| /netbsd/src/sys/netinet/ |
| D | ip_icmp.c | 645 NULL, RTF_GATEWAY | RTF_HOST, sintosa(&icmpgw), &rt); in _icmp_input() 1164 RTF_GATEWAY | RTF_HOST | RTF_DYNAMIC, &nrt); in icmp_mtudisc()
|
| D | ip_flow.c | 348 if (rt->rt_flags & RTF_GATEWAY) in ipflow_fastforward()
|
| D | ip_output.c | 369 if (rt->rt_flags & RTF_GATEWAY) in ip_output() 397 if (rt->rt_flags & RTF_GATEWAY) in ip_output()
|
| /netbsd/src/sbin/routed/ |
| D | table.c | 929 if (rtm->rtm_flags & RTF_GATEWAY) in rtm_add() 1550 ? RTF_GATEWAY : 0)); in fix_kern() 1555 ? RTF_GATEWAY : 0)); in fix_kern()
|
| /netbsd/src/sys/nfs/ |
| D | nfs_boot.c | 554 (RTF_UP | RTF_GATEWAY | RTF_STATIC), NULL); in nfs_boot_defrt()
|
| /netbsd/src/usr.sbin/route6d/ |
| D | route6d.c | 1214 rrt->rrt_flags = RTF_UP|RTF_GATEWAY; in riprecv() 2262 RTFLAG("G", RTF_GATEWAY); in rtflags() 2470 if ((rtm->rtm_flags & (RTF_HOST|RTF_GATEWAY)) == RTF_HOST) in rt_entry() 2646 rtm->rtm_flags = RTF_UP | RTF_GATEWAY; in delroute()
|
| /netbsd/src/external/bsd/ppp/usr.sbin/pppd/ |
| D | sys-bsd.c | 1636 rtmsg.hdr.rtm_flags = RTF_UP | RTF_GATEWAY | RTF_STATIC; in dodefaultroute() 1697 rmsg.rtm.rtm_flags = RTF_GATEWAY; in dodefaultroute6()
|
| /netbsd/src/usr.sbin/arp/ |
| D | arp.c | 390 (rtflags & (RTF_LLDATA|RTF_GATEWAY)) != RTF_LLDATA) in is_llinfo()
|
| /netbsd/src/sys/fs/nfs/common/ |
| D | bootp_subr.c | 1092 (RTF_UP | RTF_GATEWAY | RTF_STATIC), NULL, RT_DEFAULT_FIB); in bootpc_add_default_route() 1113 (RTF_UP | RTF_GATEWAY | RTF_STATIC), NULL, RT_DEFAULT_FIB); in bootpc_remove_default_route()
|
| /netbsd/src/usr.sbin/ndp/ |
| D | ndp.c | 338 !(rtm->rtm_flags & RTF_GATEWAY)) { in set()
|
12