Searched refs:rt_key (Results 1 - 17 of 17) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/ |
H A D | in_rmx.c | 107 struct sockaddr_in *sin = (struct sockaddr_in *)rt_key(rt); 160 rt2 = rtalloc1_scoped_locked(rt_key(rt), 0, 161 RTF_CLONING | RTF_PRCLONING, sa_get_ifscope(rt_key(rt))); 168 (struct sockaddr *)rt_key(rt2), 288 if (rtrequest_locked(RTM_DELETE, (struct sockaddr *)rt_key(rt), 335 (struct sockaddr *)rt_key(rt), 496 err = rtrequest_locked(RTM_DELETE, (struct sockaddr *)rt_key(rt),
|
H A D | if_atm.c | 136 rt_setgate(rt,rt_key(rt),(struct sockaddr *)&null_sdl); 162 sin = (struct sockaddr_in *) rt_key(rt); 199 rtrequest(RTM_DELETE, rt_key(rt), (struct sockaddr *)0,
|
H A D | in_arp.c | 172 rtrequest_locked(RTM_DELETE, rt_key(rt), (struct sockaddr *)0, rt_mask(rt), 240 rt_setgate(rt, rt_key(rt), 251 dlil_send_arp(rt->rt_ifp, ARPOP_REQUEST, SDL(gate), rt_key(rt), (struct sockaddr_dl *)rt_key(rt), NULL); 287 if (IN_MULTICAST(ntohl(SIN(rt_key(rt))->sin_addr.s_addr))) { 288 dlil_resolve_multi(rt->rt_ifp, rt_key(rt), gate, sizeof(struct sockaddr_dl)); 291 else if (in_broadcast(SIN(rt_key(rt))->sin_addr, rt->rt_ifp)) { 305 if (SIN(rt_key(rt))->sin_addr.s_addr == 401 (struct sockaddr *)rt_key(*route), 875 dlil_output(ifp, PF_INET, m0, (caddr_t)route, rt_key(rout [all...] |
H A D | tcp_subr.c | 835 sin6 = (struct sockaddr_in6 *)rt_key(rt); 843 ((struct sockaddr_in *)rt_key(rt))->sin_addr.s_addr
|
H A D | in_pcb.c | 1067 (void) rtrequest_locked(RTM_DELETE, rt_key(rt),
|
H A D | ip_input.c | 2185 satosin(rt_key(rt))->sin_addr.s_addr != 0 &&
|
/macosx-10.5.8/xnu-1228.15.4/bsd/net/ |
H A D | rtsock_mip.c | 54 dst = sa = rt_key(rt);
|
H A D | route.c | 258 * route; dst typically comes from rt_key(rt) but may be coming from 358 if (!(rt->rt_flags & RTF_IFSCOPE) || rt_key(rt)->sa_family != AF_INET) 361 return (SINIFSCOPE(rt_key(rt))->sin_ifscope == ma->ifscope); 588 rnh = rt_tables[rt_key(rt)->sa_family]; 652 R_Free(rt_key(rt)); 896 error = rt_setgate(rt, rt_key(rt), gateway); 1115 * RTF_IFSCOPE flag, callers can simply use its rt_key(rt) to clone it 1244 if (rt_inet_default(rt, rt_key(rt))) 1283 ifscope = sa_get_ifscope(rt_key(rt)); 1332 ndst = rt_key(r [all...] |
H A D | rtsock.c | 526 dst = rt_key(rt); 564 if (gate && (error = rt_setgate(rt, rt_key(rt), gate))) 728 rt_key(rt), Gate, ifscope))) { 743 if (rt_inet_default(rt, rt_key(rt))) 1061 dst = sa = rt_key(rt); 1126 dst = rt_key(rt);
|
H A D | route.h | 138 #define rt_key(r) ((struct sockaddr *)((r)->rt_nodes->rn_key)) macro
|
H A D | if.c | 949 ((ifp = ifa->ifa_ifp) == 0) || ((dst = rt_key(rt)) == 0)) 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 | 149 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)rt_key(rt); 204 (struct sockaddr *)rt_key(rt2), 320 if (rtrequest_locked(RTM_DELETE, (struct sockaddr *)rt_key(rt), 368 (struct sockaddr *)rt_key(rt),
|
H A D | nd6.c | 441 dst = (struct sockaddr_in6 *)rt_key(rt); 1023 struct in6_addr in6 = ((struct sockaddr_in6 *)rt_key(rt))->sin6_addr; 1033 dr = defrouter_lookup(&((struct sockaddr_in6 *)rt_key(rt))->sin6_addr, 1102 rtrequest(RTM_DELETE, rt_key(rt), (struct sockaddr *)0, 1194 !nd6_is_addr_neighbor((struct sockaddr_in6 *)rt_key(rt), ifp, 1))) { 1230 rt_setgate(rt, rt_key(rt), 1272 &SIN6(rt_key(rt))->sin6_addr, 1273 &SIN6(rt_key(rt))->sin6_addr, 1334 * check if rt_key(rt) is one of my address assigned 1338 &SIN6(rt_key(r [all...] |
H A D | nd6_nbr.c | 780 in6 = &((struct sockaddr_in6 *)rt_key(rt))->sin6_addr; 818 (struct sockaddr_in6 *)rt_key(rt), rt, 0);
|
H A D | nd6_rtr.c | 488 info.rti_info[RTAX_DST] = rt_key(rt); 2150 return(rtrequest_locked(RTM_DELETE, rt_key(rt),
|
H A D | in6_ifattach.c | 1043 rtrequest_locked(RTM_DELETE, (struct sockaddr *)rt_key(rt),
|
H A D | in6_pcb.c | 1161 (void)rtrequest_locked(RTM_DELETE, rt_key(rt),
|
Completed in 98 milliseconds