/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/ |
H A D | if_atm.c | 108 register struct sockaddr *gate = rt->rt_gateway; 137 gate = rt->rt_gateway; 268 rt->rt_gateway->sa_family != AF_LINK) { 274 * note that rt_gateway is a sockaddr_dl which contains the 280 sdl = SDL(rt->rt_gateway);
|
H A D | in_rmx.c | 165 rt2->rt_gateway && 166 rt2->rt_gateway->sa_family == AF_LINK) { 169 rt2->rt_gateway, 289 rt->rt_gateway, rt_mask(rt), rt->rt_flags, &rt) == 0) { 336 rt->rt_gateway, rt_mask(rt), 497 rt->rt_gateway, rt_mask(rt), rt->rt_flags, 0);
|
H A D | in_arp.c | 165 if (rt->rt_refcnt > 0 && (sdl = SDL(rt->rt_gateway)) && 209 struct sockaddr *gate = rt->rt_gateway; 242 gate = rt->rt_gateway; 402 (*route)->rt_gateway, rt_mask(*route), 413 else if ((*route)->rt_gateway->sa_family != AF_LINK) { 481 route->rt_gateway, 1, 0, 583 gateway = SDL(route->rt_gateway); 720 if (error || route == 0 || route->rt_gateway == 0) { 735 if (error == 0 && route && route->rt_gateway) { 736 gateway = SDL(route->rt_gateway); [all...] |
H A D | ip_flow.c | 199 dst = rt->rt_gateway;
|
H A D | ip_output.c | 605 dst = (struct sockaddr_in *)ro->ro_rt->rt_gateway; 1289 dst = (struct sockaddr_in *)ro_fwd->ro_rt->rt_gateway; 3161 (ro->ro_rt->rt_gateway->sa_family == AF_LINK && 3162 SDL(ro->ro_rt->rt_gateway)->sdl_alen != 0))) {
|
H A D | in_pcb.c | 1063 info.rti_info[RTAX_GATEWAY] = rt->rt_gateway; 1068 rt->rt_gateway, rt_mask(rt), rt->rt_flags,
|
H A D | in.c | 130 if (rt->rt_gateway->sa_family == AF_LINK ||
|
H A D | tcp_input.c | 3445 if (rt && (IN6_IS_ADDR_LOOPBACK(&inp->in6p_faddr) || IN6_IS_ADDR_LINKLOCAL(&inp->in6p_faddr) || rt->rt_gateway->sa_family == AF_LINK)) 3452 if (rt && (rt->rt_gateway->sa_family == AF_LINK ||
|
H A D | ip_input.c | 2193 dest = satosin(rt->rt_gateway)->sin_addr.s_addr;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/net/ |
H A D | rtsock_mip.c | 55 gate = rt->rt_gateway;
|
H A D | route.h | 140 struct sockaddr *rt_gateway; /* value */ member in struct:rtentry 166 struct sockaddr rt_gateway; /* value */ member in struct:ortentry
|
H A D | route.c | 830 /* Embed scope in src for comparison against rt_gateway below */ 841 (!equal(src, rt->rt_gateway) || !equal(rt->rt_ifa->ifa_addr, 1269 gateway = rt->rt_gateway; 1373 rt2->rt_gateway, 1589 rt->rt_gateway, rt_mask(rt), rt->rt_flags, NULL); 1656 gwrt != NULL && gwrt->rt_gateway->sa_family == AF_LINK && 1659 kdp_set_gateway_mac(SDL(gwrt->rt_gateway)->sdl_data); 1663 * Prepare to store the gateway in rt_gateway. Both dst and gateway 1665 * have room, reuse the old buffer since rt_gateway already points 1667 * the 'dst' address and point rt_gateway t [all...] |
H A D | if_fddisubr.c | 157 lookup: rt->rt_gwroute = RTALLOC1(rt->rt_gateway, 1); 205 if (rt && (sdl = (struct sockaddr_dl *)rt->rt_gateway) && 235 (struct sockaddr_dl *) rt -> rt_gateway;
|
H A D | rtsock.c | 527 gate = rt->rt_gateway; 575 gate = rt->rt_gateway; 1062 gate = rt->rt_gateway; 1127 gate = rt->rt_gateway;
|
H A D | if.c | 2174 err = rtrequest_locked(RTM_DELETE, rt_key(rt), rt->rt_gateway,
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/ |
H A D | in6_rmx.c | 201 rt2->rt_gateway && 202 rt2->rt_gateway->sa_family == AF_LINK) { 205 rt2->rt_gateway, 231 && rt2->rt_gateway 232 && rt2->rt_gateway->sa_family == AF_LINK 321 rt->rt_gateway, rt_mask(rt), rt->rt_flags, &rt) == 0) { 369 rt->rt_gateway, rt_mask(rt),
|
H A D | nd6.c | 828 if (rt && rt->rt_gateway && 829 rt->rt_gateway->sa_family == AF_LINK) { 830 sdl = (struct sockaddr_dl *)rt->rt_gateway; 939 rt->rt_gateway->sa_family != AF_LINK || rt->rt_llinfo == NULL || 1137 !rt->rt_llinfo || !rt->rt_gateway || 1138 rt->rt_gateway->sa_family != AF_LINK) { 1169 struct sockaddr *gate = rt->rt_gateway; 1232 gate = rt->rt_gateway; 1748 if (!rt->rt_gateway) 1750 if (rt->rt_gateway [all...] |
H A D | nd6_nbr.c | 221 rt->rt_gateway->sa_family == AF_LINK) { 229 proxydl = SDL(rt->rt_gateway); 658 ((sdl = SDL(rt->rt_gateway)) == NULL))
|
H A D | nd6_rtr.c | 489 info.rti_info[RTAX_GATEWAY] = rt->rt_gateway; 2129 if (rt->rt_gateway == NULL || rt->rt_gateway->sa_family != AF_INET6) 2132 if (!IN6_ARE_ADDR_EQUAL(gate, &SIN6(rt->rt_gateway)->sin6_addr)) 2151 rt->rt_gateway, rt_mask(rt), rt->rt_flags, 0));
|
H A D | icmp6.c | 2296 if (rt->rt_gateway == NULL || 2297 rt->rt_gateway->sa_family != AF_INET6) { 2306 gw6 = &(((struct sockaddr_in6 *)rt->rt_gateway)->sin6_addr); 2517 if (rt->rt_gateway && (rt->rt_flags & RTF_GATEWAY)) { 2519 sin6 = (struct sockaddr_in6 *)rt->rt_gateway; 2585 (rt_router->rt_gateway->sa_family == AF_LINK) && 2586 (sdl = (struct sockaddr_dl *)rt_router->rt_gateway) &&
|
H A D | ip6_forward.c | 445 dst = (struct sockaddr_in6 *)rt->rt_gateway;
|
H A D | in6_pcb.c | 1156 info.rti_info[RTAX_GATEWAY] = rt->rt_gateway; 1162 rt->rt_gateway, rt_mask(rt), rt->rt_flags,
|
H A D | in6_ifattach.c | 1044 rt->rt_gateway, rt_mask(rt), rt->rt_flags, 0);
|
H A D | in6.c | 2111 if (rt->rt_gateway->sa_family == AF_LINK)
|
H A D | ipsec.c | 2956 state->dst = (struct sockaddr *)state->ro->ro_rt->rt_gateway; 3473 state->dst = (struct sockaddr *)state->ro->ro_rt->rt_gateway;
|