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

/darwin-on-arm/xnu/bsd/net/
H A Droute.c140 * be done without rt_lock: RTF_GATEWAY, RTF_HOST, RTF_DYNAMIC,
1316 if (rt->rt_flags & RTF_GATEWAY) {
1327 flags |= RTF_GATEWAY | RTF_DYNAMIC;
1459 if (!(flags & RTF_GATEWAY)) {
1857 if ((flags & RTF_GATEWAY) && !gateway)
1858 panic("rtrequest: RTF_GATEWAY but no gateway");
2040 if ((rt->rt_flags & RTF_GATEWAY) && rt->rt_gwroute != NULL)
2247 if (rt->rt_flags & RTF_GATEWAY) {
2266 if (((rt->rt_flags & (RTF_HOST|RTF_GATEWAY|RTF_LLINFO)) ==
2267 RTF_GATEWAY)
[all...]
H A Droute.h205 #define RTF_GATEWAY 0x2 /* destination is a gateway */ macro
H A Dif_utun_crypto_ipsec.c791 if (ro->ro_rt->rt_flags & RTF_GATEWAY) {
888 if (ro->ro_rt->rt_flags & RTF_GATEWAY) {
H A Dif_llreach.c454 if ((rt->rt_flags & RTF_GATEWAY) &&
H A Drtsock.c643 if ((rt->rt_flags & RTF_GATEWAY) && !info.rti_info[RTAX_GATEWAY])
H A Dpf.c7671 if (ro->ro_rt->rt_flags & RTF_GATEWAY)
/darwin-on-arm/xnu/bsd/netinet6/
H A Dscope6.c375 VERIFY(rt->rt_flags & RTF_GATEWAY);
H A Din6_rmx.c264 if ((rt2->rt_flags & (RTF_CLONING|RTF_HOST|RTF_GATEWAY))
H A Dip6_forward.c564 if (rt->rt_flags & RTF_GATEWAY)
H A Dicmp6.c2581 (struct sockaddr *)&sgw, NULL, RTF_GATEWAY | RTF_HOST,
2715 if (rt->rt_gateway && (rt->rt_flags & RTF_GATEWAY)) {
2741 if (rt->rt_flags & RTF_GATEWAY) {
2789 if (!(rt_router->rt_flags & RTF_GATEWAY) &&
H A Dnd6.c1453 if ((rt->rt_flags & RTF_GATEWAY) || (rt->rt_flags & RTF_LLINFO) == 0 ||
1734 if ((rt->rt_flags & RTF_GATEWAY) != 0 ||
1790 if ((rt->rt_flags & RTF_GATEWAY))
2709 if ((rt->rt_flags & (RTF_GATEWAY | RTF_LLINFO)) != RTF_LLINFO) {
2992 if (rt->rt_flags & RTF_GATEWAY) {
H A Dip6_input.c850 (RTF_HOST|RTF_GATEWAY)) == RTF_HOST &&
H A Dipsec.c3193 if (ro4->ro_rt->rt_flags & RTF_GATEWAY)
3770 if (ro6->ro_rt->rt_flags & RTF_GATEWAY)
H A Dnd6_rtr.c795 RTF_GATEWAY, &newrt, ifscope);
881 (struct sockaddr *)&mask, RTF_GATEWAY, &oldrt, ifscope);
H A Dip6_output.c1039 else if ((rt->rt_flags & RTF_GATEWAY))
/darwin-on-arm/xnu/bsd/kern/
H A Dnetboot.c576 flags |= RTF_GATEWAY;
/darwin-on-arm/xnu/bsd/netinet/
H A Dip_output.c762 if (ro->ro_rt->rt_flags & RTF_GATEWAY) {
1567 if (ro_fwd->ro_rt->rt_flags & RTF_GATEWAY)
3249 (rt->rt_flags & RTF_GATEWAY)) {
3274 !(ro->ro_rt->rt_flags & RTF_GATEWAY) &&
H A Din_arp.c596 if (rt->rt_flags & RTF_GATEWAY)
836 if (rt->rt_flags & RTF_GATEWAY) {
H A Dip_icmp.c611 (struct sockaddr *)&icmpdst, NULL, RTF_GATEWAY | RTF_HOST,
H A Dip_input.c2474 if (rt->rt_flags & RTF_GATEWAY)

Completed in 208 milliseconds