/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/ |
H A D | ip6_forward.c | 133 IN6_IS_ADDR_UNSPECIFIED(&ip6->ip6_src)) { 141 ip6_sprintf(&ip6->ip6_src), 371 if (in6_addr2scopeid(m->m_pkthdr.rcvif, &ip6->ip6_src) != 372 in6_addr2scopeid(rt->rt_ifp, &ip6->ip6_src)) { 382 ip6_sprintf(&ip6->ip6_src), 521 ip6_sprintf(&ip6->ip6_src), 537 in6_clearscope(&ip6->ip6_src);
|
H A D | ip6_mroute.c | 971 ip6_sprintf(&ip6->ip6_src), ip6_sprintf(&ip6->ip6_dst), 992 if (IN6_IS_ADDR_UNSPECIFIED(&ip6->ip6_src)) { 999 ip6_sprintf(&ip6->ip6_src), 1010 MF6CFIND(ip6->ip6_src, ip6->ip6_dst, rt); 1036 ip6_sprintf(&ip6->ip6_src), 1063 hash = MF6CHASH(ip6->ip6_src, ip6->ip6_dst); 1065 if (IN6_ARE_ADDR_EQUAL(&ip6->ip6_src, 1103 sin6.sin6_addr = ip6->ip6_src; 1167 rt->mf6c_origin.sin6_addr = ip6->ip6_src; 1428 in6_addr2scopeid(ifp, &ip6->ip6_src) ! [all...] |
H A D | nd6_nbr.c | 103 struct in6_addr saddr6 = ip6->ip6_src; 131 ip6->ip6_hlim, ip6_sprintf(&ip6->ip6_src), 173 if (IN6_IS_ADDR_UNSPECIFIED(&ip6->ip6_src) && lladdr) { 424 ip6->ip6_src = ia->ia_addr.sin6_addr; 448 saddr6 = &hip6->ip6_src; 454 bcopy(saddr6, &ip6->ip6_src, sizeof(*saddr6)); 464 ip6->ip6_src = ia->ia_addr.sin6_addr; 472 bzero(&ip6->ip6_src, sizeof(ip6->ip6_src)); 548 struct in6_addr saddr6 = ip6->ip6_src; [all...] |
H A D | icmp6.c | 264 if (IN6_IS_ADDR_UNSPECIFIED(&oip6->ip6_src) || 265 IN6_IS_ADDR_MULTICAST(&oip6->ip6_src)) 307 if (icmp6_ratelimit(&oip6->ip6_src, type, code)) { 329 nip6->ip6_src = oip6->ip6_src; 332 if (IN6_IS_SCOPE_LINKLOCAL(&oip6->ip6_src)) 333 oip6->ip6_src.s6_addr16[1] = 0; 411 icmp6->icmp6_type, sum, ip6_sprintf(&ip6->ip6_src))); 642 if ((icmp6_nodeinfo & 8) != 8 && in6_addrscope(&ip6->ip6_src) == IPV6_ADDR_SCOPE_GLOBAL) 805 icmp6->icmp6_type, ip6_sprintf(&ip6->ip6_src), [all...] |
H A D | in6_gif.c | 161 ip6->ip6_src = sin6_src->sin6_addr; 321 !IN6_ARE_ADDR_EQUAL(&dst->sin6_addr, &ip6->ip6_src)) 334 sin6.sin6_addr = ip6->ip6_src;
|
H A D | mld6.c | 217 if (!IN6_IS_ADDR_LINKLOCAL(&ip6->ip6_src)) { 220 ip6_sprintf(&ip6->ip6_src), 444 ip6->ip6_src = ia->ia_addr.sin6_addr;
|
H A D | in6_cksum.c | 133 w = (u_int16_t *)&ip6->ip6_src; 139 if (!IN6_IS_SCOPE_LINKLOCAL(&ip6->ip6_src))
|
H A D | frag6.c | 232 IN6_ARE_ADDR_EQUAL(&ip6->ip6_src, &q6->ip6q_src) && 269 q6->ip6q_src = ip6->ip6_src; 336 ip6err->ip6_src = q6->ip6q_src; 497 ip6->ip6_src = q6->ip6q_src; 594 ip6->ip6_src = q6->ip6q_src;
|
H A D | udp6_usrreq.c | 313 &ip6->ip6_src) || 385 in6p = in6_pcblookup_hash(&udbinfo, &ip6->ip6_src, uh->uh_sport, 397 ip6_sprintf(&ip6->ip6_src), ntohs(uh->uh_sport)); 399 !IN6_ARE_ADDR_EQUAL(&ip6->ip6_dst, &ip6->ip6_src)) 403 ip6_sprintf(&ip6->ip6_src), ntohs(uh->uh_sport)));
|
H A D | ip6_input.c | 497 if (IN6_IS_ADDR_MULTICAST(&ip6->ip6_src) || 506 if ((IN6_IS_ADDR_LOOPBACK(&ip6->ip6_src) || 526 if (IN6_IS_ADDR_V4MAPPED(&ip6->ip6_src) || 540 if (IN6_IS_ADDR_V4COMPAT(&ip6->ip6_src) || 550 if (IN6_IS_SCOPE_LINKLOCAL(&ip6->ip6_src) && 551 ip6->ip6_src.s6_addr16[1]) { 562 if (IN6_IS_SCOPE_LINKLOCAL(&ip6->ip6_src)) 563 ip6->ip6_src.s6_addr16[1] 720 ip6_sprintf(&ip6->ip6_src), 895 if (IN6_IS_ADDR_V4MAPPED(&ip6->ip6_src) || [all...] |
H A D | ipsec.c | 1179 bcopy(&ip6->ip6_src, &sin6->sin6_addr, sizeof(ip6->ip6_src)); 1180 if (IN6_IS_SCOPE_LINKLOCAL(&ip6->ip6_src)) { 1182 sin6->sin6_scope_id = ntohs(ip6->ip6_src.s6_addr16[1]); 2317 if (IN6_IS_SCOPE_LINKLOCAL(&oip6->ip6_src)) 2318 oip6->ip6_src.s6_addr16[1] = 0; 2332 &ip6->ip6_src, sizeof(ip6->ip6_src)); 2337 /* XXX Should ip6_src be updated later ? */ 2683 ip6_sprintf(&ip6->ip6_src)); [all...] |
H A D | ah_input.c | 601 (caddr_t)&ip6->ip6_src, (caddr_t)&ip6->ip6_dst, 752 if (!IN6_ARE_ADDR_EQUAL(&nip6->ip6_src, &ip6->ip6_src) 826 (caddr_t)&ip6->ip6_src, (caddr_t)&ip6->ip6_dst)) {
|
H A D | udp6_output.c | 302 ip6->ip6_src = *laddr;
|
H A D | nd6_rtr.c | 146 struct in6_addr saddr6 = ip6->ip6_src; 168 ip6->ip6_hlim, ip6_sprintf(&ip6->ip6_src), 241 struct in6_addr saddr6 = ip6->ip6_src; 260 ip6->ip6_hlim, ip6_sprintf(&ip6->ip6_src), 405 mtu, ip6_sprintf(&ip6->ip6_src))); 421 mtu, ip6_sprintf(&ip6->ip6_src), 428 mtu, ip6_sprintf(&ip6->ip6_src)));
|
H A D | ip6_fw.c | 470 ip6_sprintf(&ip6->ip6_src)); 484 ip6_sprintf(&ip6->ip6_src)); 503 ip6_sprintf(&ip6->ip6_src)); 509 ip6_sprintf(&ip6->ip6_src)); 609 (!IN6_ARE_ADDR_MASKEQUAL(&ip6->ip6_src,&f->fw_smsk,&f->fw_src)))
|
H A D | raw_ip6.c | 159 !IN6_ARE_ADDR_EQUAL(&in6p->in6p_faddr, &ip6->ip6_src)) 389 ip6->ip6_src = *in6a;
|
H A D | ipcomp_input.c | 270 sav = key_allocsa(AF_INET6, (caddr_t)&ip6->ip6_src,
|
H A D | esp_input.c | 421 (caddr_t)&ip6->ip6_src, (caddr_t)&ip6->ip6_dst)) { 606 (caddr_t)&ip6->ip6_src, (caddr_t)&ip6->ip6_dst, 832 (caddr_t)&ip6->ip6_src, (caddr_t)&ip6->ip6_dst)) {
|
H A D | ip6_output.c | 527 if (IN6_IS_ADDR_UNSPECIFIED(&ip6->ip6_src) && 533 if (IN6_IS_ADDR_MULTICAST(&ip6->ip6_src)) { 892 if (IN6_IS_SCOPE_LINKLOCAL(&ip6->ip6_src)) 893 origifp = ifindex2ifnet[ntohs(ip6->ip6_src.s6_addr16[1])]; 918 in6_clearscope(&ip6->ip6_src); 2684 in6_clearscope(&ip6->ip6_src);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/ |
H A D | ip6.h | 113 struct in6_addr ip6_src; /* source address */ member in struct:ip6_hdr
|
H A D | tcp_input.c | 608 (((ip6->ip6_src.s6_addr16[0]) << 16) | (ip6->ip6_dst.s6_addr16[0])), 618 if (IN6_IS_ADDR_UNSPECIFIED(&ip6->ip6_src)) { 828 inp = in6_pcblookup_hash(&tcbinfo, &ip6->ip6_src, th->th_sport, 879 inet_ntop(AF_INET6, &ip6->ip6_src, sbuf, sizeof(sbuf)); 905 ((isipv6 && !IN6_ARE_ADDR_EQUAL(&ip6->ip6_dst, &ip6->ip6_src)) || 1083 sin6->sin6_addr = ip6->ip6_src; 1590 (((ip6->ip6_src.s6_addr16[0]) << 16) | (ip6->ip6_dst.s6_addr16[0])), 1673 &ip6->ip6_src)) 1693 IN6_IS_ADDR_MULTICAST(&ip6->ip6_src)) 1711 sin6->sin6_addr = ip6->ip6_src; [all...] |
H A D | ip_encap.c | 280 s.sin6_addr = ip6->ip6_src;
|
H A D | udp_usrreq.c | 703 ip6->ip6_src.s6_addr32[2] = ip6->ip6_dst.s6_addr32[2] = 705 ip6->ip6_src.s6_addr32[3] = ip->ip_src.s_addr;
|
H A D | tcp_subr.c | 402 ip6->ip6_src = inp->in6p_laddr; 556 xchg(ip6->ip6_dst, ip6->ip6_src, struct in6_addr);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/net/ |
H A D | if_stf.c | 717 stf_checkaddr6(sc, &ip6.ip6_src, m->m_pkthdr.rcvif) < 0) {
|