/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/ |
H A D | kpi_ipfilter.c | 46 #include <netinet/ip6.h> 336 struct ip6_hdr *ip6; local 347 ip6 = (struct ip6_hdr*)m_mtod(m); 374 sin6->sin6_addr = ip6->ip6_dst; 378 if (IN6_IS_SCOPE_LINKLOCAL(&ip6->ip6_dst)) { 380 sin6->sin6_scope_id = ntohs(ip6->ip6_dst.s6_addr16[1]); 381 ip6->ip6_dst.s6_addr16[1] = 0;
|
H A D | ip_encap.c | 69 * mobile-ip6 (uses RFC2473) 108 #include <netinet/ip6.h> 267 struct ip6_hdr *ip6; local 274 ip6 = mtod(m, struct ip6_hdr *); 275 proto = ip6->ip6_nxt; 280 s.sin6_addr = ip6->ip6_src; 284 d.sin6_addr = ip6->ip6_dst;
|
H A D | ip_ecn.c | 72 #include <netinet/ip6.h>
|
H A D | udp_usrreq.c | 86 #include <netinet/ip6.h> 196 static void ip_2_ip6_hdr(struct ip6_hdr *ip6, struct ip *ip); 693 ip_2_ip6_hdr(ip6, ip) 694 struct ip6_hdr *ip6; 697 bzero(ip6, sizeof(*ip6)); 699 ip6->ip6_vfc = IPV6_VERSION; 700 ip6->ip6_plen = ip->ip_len; 701 ip6->ip6_nxt = ip->ip_p; 702 ip6 [all...] |
H A D | tcp_input.c | 97 #include <netinet/ip6.h> 510 struct ip6_hdr *ip6; local 512 ip6 = mtod(m, struct ip6_hdr *); 514 (caddr_t)&ip6->ip6_dst - (caddr_t)ip6); 579 struct ip6_hdr *ip6 = NULL; local 599 ip6 = mtod(m, struct ip6_hdr *); 600 tlen = sizeof(*ip6) + ntohs(ip6->ip6_plen) - off0; 605 th = (struct tcphdr *)((caddr_t)ip6 [all...] |
H A D | tcp_output.c | 94 #include <netinet/ip6.h> 224 struct ip6_hdr *ip6 = NULL; local 1207 ip6 = mtod(m, struct ip6_hdr *); 1208 th = (struct tcphdr *)(ip6 + 1); 1209 tcp_fillheaders(tp, ip6, th); 1423 ip6->ip6_hlim = in6_selecthlim(tp->t_inpcb,
|
H A D | tcp_debug.c | 87 #include <netinet/ip6.h>
|
H A D | tcp_sack.c | 86 #include <netinet/ip6.h>
|
H A D | tcp_usrreq.c | 83 #include <netinet/ip6.h>
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/ |
H A D | ipcomp_input.c | 65 #include <netinet/ip6.h> 242 struct ip6_hdr *ip6; local 264 ip6 = mtod(m, struct ip6_hdr *); 270 sav = key_allocsa(AF_INET6, (caddr_t)&ip6->ip6_src, 271 (caddr_t)&ip6->ip6_dst, IPPROTO_IPCOMP, htonl(cpi));
|
H A D | ipcomp_output.c | 64 #include <netinet/ip6.h> 247 struct ip6_hdr *ip6 = NULL; local 265 ip6 = mtod(m, struct ip6_hdr *); 266 hlen = sizeof(*ip6);
|
H A D | nd6_rtr.c | 84 #include <netinet/ip6.h> 144 struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); local 146 struct in6_addr saddr6 = ip6->ip6_src; 148 struct in6_addr daddr6 = ip6->ip6_dst; 165 if (ip6->ip6_hlim != 255) { 168 ip6->ip6_hlim, ip6_sprintf(&ip6->ip6_src), 169 ip6_sprintf(&ip6->ip6_dst), if_name(ifp))); 182 nd_rs = (struct nd_router_solicit *)((caddr_t)ip6 + off); 239 struct ip6_hdr *ip6 local [all...] |
H A D | ah_output.c | 62 #include <netinet/ip6.h> 387 struct ip6_hdr *ip6; local 432 ip6 = mtod(m, struct ip6_hdr *); 433 ip6->ip6_plen = htons(m->m_pkthdr.len - sizeof(struct ip6_hdr));
|
H A D | esp_output.c | 62 #include <netinet/ip6.h> 311 struct ip6_hdr *ip6 = NULL; local 356 ip6 = mtod(m, struct ip6_hdr *); 357 hlen = sizeof(*ip6);
|
H A D | in6_proto.c | 89 #include <netinet/ip6.h> 427 SYSCTL_NODE(_net_inet6, IPPROTO_IPV6, ip6, CTLFLAG_RW|CTLFLAG_LOCKED, 0, "IP6"); 435 /* net.inet6.ip6 */
|
H A D | in6_rmx.c | 121 #include <netinet/ip6.h>
|
H A D | in6_src.c | 90 #include <netinet/ip6.h>
|
H A D | nd6.c | 68 #include <netinet/ip6.h> 2137 struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); local 2139 if ((IN6_IS_ADDR_LOOPBACK(&ip6->ip6_src) || 2140 IN6_IS_ADDR_LOOPBACK(&ip6->ip6_dst))) {
|
H A D | esp_core.c | 55 #include <netinet/ip6.h>
|
H A D | in6_ifattach.c | 83 #include <netinet/ip6.h>
|
/macosx-10.5.8/xnu-1228.15.4/bsd/net/ |
H A D | if_dummy.c | 101 #include <netinet6/ip6.h>
|
H A D | if_loop.c | 99 #include <netinet/ip6.h>
|
H A D | dlil.c | 1198 #include <netinet/ip6.h> 1204 struct ip6_hdr *ip6; local 1225 ip6 = mtod(m, struct ip6_hdr *); 1226 if (ip6->ip6_nxt == IPPROTO_TCP) 1228 else if (ip6->ip6_nxt == IPPROTO_UDP)
|
H A D | if_gif.c | 97 #include <netinet/ip6.h>
|
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | uipc_mbuf2.c | 110 #include <netinet/ip6.h>
|