Searched refs:SIN (Results 1 - 3 of 3) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/bsd/net/ |
H A D | route.c | 218 #define SIN(sa) ((struct sockaddr_in *)(size_t)(sa)) macro 251 ((dst)->sa_family == AF_INET && SIN(dst)->sin_addr.s_addr == 0) 832 src = sin_copy(SIN(src), &sin, ifscope); 992 dst = sin_copy(SIN(dst), &dst_in, IFSCOPE_NONE); 994 gateway = sin_copy(SIN(gateway), &gw_in, IFSCOPE_NONE); 1170 dst = sin_copy(SIN(dst), &sin, ifscope); 1281 if (!IN_LINKLOCAL(ntohl(SIN(dst)->sin_addr.s_addr))) { 1294 dst = sin_copy(SIN(dst), &sin, ifscope); 1766 dst = sin_copy(SIN(dst), &sin, ifscope);
|
H A D | rtsock.c | 117 #define SIN(sa) ((struct sockaddr_in *)(size_t)(sa)) macro 382 dst_in.sin_port = SIN(dst)->sin_port; 383 dst_in.sin_addr = SIN(dst)->sin_addr; 395 gate_in.sin_port = SIN(gate)->sin_port; 396 gate_in.sin_addr = SIN(gate)->sin_addr;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/ |
H A D | in_arp.c | 81 #define SIN(s) ((struct sockaddr_in *)s) macro 234 SIN(rt_mask(rt))->sin_addr.s_addr != 0xffffffff) 287 if (IN_MULTICAST(ntohl(SIN(rt_key(rt))->sin_addr.s_addr))) { 291 else if (in_broadcast(SIN(rt_key(rt))->sin_addr, rt->rt_ifp)) { 305 if (SIN(rt_key(rt))->sin_addr.s_addr ==
|
Completed in 76 milliseconds