/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/ |
H A D | tcp6_var.h | 79 struct ip6_hdr;
|
H A D | in6_gif.c | 94 struct ip6_hdr *ip6; 131 ip6 = mtod(m, struct ip6_hdr *); 146 M_PREPEND(m, sizeof(struct ip6_hdr), M_DONTWAIT); 147 if (m && mbuf_len(m) < sizeof(struct ip6_hdr)) 148 m = m_pullup(m, sizeof(struct ip6_hdr)); 154 ip6 = mtod(m, struct ip6_hdr *); 209 - sizeof(struct ip6_hdr); 231 struct ip6_hdr *ip6; 236 ip6 = mtod(m, struct ip6_hdr *); 280 ip6 = mtod(m, struct ip6_hdr *); [all...] |
H A D | ip6protosw.h | 88 struct ip6_hdr; 114 struct ip6_hdr *ip6c_ip6; /* ip6 header of target packet */
|
H A D | ipsec6.h | 73 struct ip6_hdr; 74 extern const char *ipsec6_logpacketstr(struct ip6_hdr *, u_int32_t);
|
H A D | route6.c | 50 static int ip6_rthdr0(struct mbuf *, struct ip6_hdr *, 57 struct ip6_hdr *ip6; 75 ip6 = mtod(m, struct ip6_hdr *); 78 ip6 = mtod(m, struct ip6_hdr *); 142 struct ip6_hdr *ip6;
|
H A D | mld6.c | 196 struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); 216 ip6 = mtod(m, struct ip6_hdr *);/* in case mpullup */ 397 struct ip6_hdr *ip6; 432 mh->m_pkthdr.len = sizeof(struct ip6_hdr) + sizeof(struct mld6_hdr); 433 mh->m_len = sizeof(struct ip6_hdr); 434 MH_ALIGN(mh, sizeof(struct ip6_hdr)); 437 ip6 = mtod(mh, struct ip6_hdr *); 459 mldh->mld6_cksum = in6_cksum(mh, IPPROTO_ICMPV6, sizeof(struct ip6_hdr),
|
H A D | dest6.c | 65 struct ip6_hdr *ip6; 67 ip6 = mtod(m, struct ip6_hdr *);
|
H A D | ip6_input.c | 358 struct ip6_hdr *ip6; 359 int off = sizeof(struct ip6_hdr), nest; 373 ip6 = mtod(m, struct ip6_hdr *); 452 IP6_EXTHDR_CHECK(m, 0, sizeof(struct ip6_hdr), 456 if (m->m_len < sizeof(struct ip6_hdr)) { 459 if ((m = m_pullup(m, sizeof(struct ip6_hdr))) == 0) { 467 ip6 = mtod(m, struct ip6_hdr *); 791 ip6 = mtod(m, struct ip6_hdr *); 817 IP6_EXTHDR_GET(hbh, struct ip6_hbh *, m, sizeof(struct ip6_hdr), 842 if (m->m_pkthdr.len - sizeof(struct ip6_hdr) < ple [all...] |
H A D | icmp6.c | 221 struct ip6_hdr *oip6, *nip6; 241 IP6_EXTHDR_CHECK(m, 0, sizeof(struct ip6_hdr), return); 243 if (m->m_len < sizeof(struct ip6_hdr)) { 244 m = m_pullup(m, sizeof(struct ip6_hdr)); 249 oip6 = mtod(m, struct ip6_hdr *); 304 oip6 = mtod(m, struct ip6_hdr *); /* adjust pointer */ 319 preplen = sizeof(struct ip6_hdr) + sizeof(struct icmp6_hdr); 328 nip6 = mtod(m, struct ip6_hdr *); 352 icmp6_reflect(m, sizeof(struct ip6_hdr)); /* header order: IPv6 - ICMPv6 */ 372 struct ip6_hdr *ip [all...] |
H A D | ip6_fw.h | 266 struct ip6_hdr; 268 typedef int ip6_fw_chk_t(struct ip6_hdr**, struct ifnet*,
|
H A D | frag6.c | 142 struct ip6_hdr *ip6; 155 ip6 = mtod(m, struct ip6_hdr *); 201 * sizeof(struct ip6_hdr) = 40 207 offsetof(struct ip6_hdr, ip6_plen)); 282 q6->ip6q_unfrglen = offset - sizeof(struct ip6_hdr) 292 frgpartlen = sizeof(struct ip6_hdr) + ntohs(ip6->ip6_plen) - offset; 322 struct ip6_hdr *ip6err; 330 ip6err = mtod(merr, struct ip6_hdr *); 495 ip6 = mtod(m, struct ip6_hdr *); 496 ip6->ip6_plen = htons((u_short)next + offset - sizeof(struct ip6_hdr)); [all...] |
H A D | ip6_mroute.c | 122 static void phyint_send(struct ip6_hdr *, struct mif6 *, struct mbuf *); 127 static int register_send(struct ip6_hdr *, struct mif6 *, 958 struct ip6_hdr *ip6; 1055 (M_HASCL(mb0) || mb0->m_len < sizeof(struct ip6_hdr))) 1056 mb0 = m_pullup(mb0, sizeof(struct ip6_hdr)); 1091 mm = m_copy(mb0, 0, sizeof(struct ip6_hdr)); 1279 struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); 1335 mm = m_copy(m, 0, sizeof(struct ip6_hdr)); 1338 mm->m_len < sizeof(struct ip6_hdr))) [all...] |
H A D | udp6_output.c | 146 struct ip6_hdr *ip6; 153 int af = AF_INET6, hlen = sizeof(struct ip6_hdr); 291 ip6 = mtod(m, struct ip6_hdr *); 306 sizeof(struct ip6_hdr), plen)) == 0) {
|
H A D | ipsec.c | 970 if (m->m_pkthdr.len < sizeof(struct ip6_hdr)) { 973 "pkthdr.len(%d) < sizeof(struct ip6_hdr), " 1164 struct ip6_hdr *ip6 = NULL; 1165 struct ip6_hdr ip6buf; 1169 ip6 = mtod(m, struct ip6_hdr *); 2042 clen += sizeof(struct ip6_hdr); 2269 struct ip6_hdr *oip6; 2270 struct ip6_hdr *ip6; 2293 if (m->m_len != sizeof(struct ip6_hdr)) 2295 if (M_LEADINGSPACE(m->m_next) < sizeof(struct ip6_hdr)) { [all...] |
H A D | nd6_nbr.c | 101 struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); 125 ip6 = mtod(m, struct ip6_hdr *); /* adjust pointer for safety */ 347 struct ip6_hdr *ip6; 394 ip6 = mtod(m, struct ip6_hdr *); 441 struct ip6_hdr *hip6; /* hold ip6 */ 445 hip6 = mtod(ln->ln_hold, struct ip6_hdr *); 545 struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); 850 struct ip6_hdr *ip [all...] |
H A D | esp_input.c | 117 struct ip6_hdr *ip6; 414 ip6 = mtod(m, struct ip6_hdr *); 564 struct ip6_hdr *ip6; 593 ip6 = mtod(m, struct ip6_hdr *); 704 ip6 = mtod(m, struct ip6_hdr *); 752 ip6 = mtod(m, struct ip6_hdr *); /*set it again just in case*/ 788 || m->m_pkthdr.len - taillen < sizeof(struct ip6_hdr)) { /*?*/ 798 ip6 = mtod(m, struct ip6_hdr *); 828 ip6 = mtod(m, struct ip6_hdr *); 866 ip6 = mtod(m, struct ip6_hdr *); [all...] |
H A D | ah_output.c | 387 struct ip6_hdr *ip6; 389 if (m->m_len < sizeof(struct ip6_hdr)) { 426 if (m->m_pkthdr.len - sizeof(struct ip6_hdr) > IPV6_MAXPACKET) { 432 ip6 = mtod(m, struct ip6_hdr *); 433 ip6->ip6_plen = htons(m->m_pkthdr.len - sizeof(struct ip6_hdr));
|
H A D | ip6_fw.c | 186 static int ip6opts_match __P((struct ip6_hdr **ip6, struct ip6_fw *f, 193 static void ip6fw_report __P((struct ip6_fw *f, struct ip6_hdr *ip6, 196 static int ip6_fw_chk __P((struct ip6_hdr **pip6, 273 is_icmp6_query(struct ip6_hdr *ip6, int off) 292 ip6opts_match(struct ip6_hdr **pip6, struct ip6_fw *f, struct mbuf **m, 296 struct ip6_hdr *ip6 = *pip6; 304 *off = sizeof(struct ip6_hdr); 305 len = ntohs(ip6->ip6_plen) + sizeof(struct ip6_hdr); 410 ip6fw_report(struct ip6_fw *f, struct ip6_hdr *ip6, 532 * ip Pointer to packet header (struct ip6_hdr *) [all...] |
H A D | raw_ip6.c | 129 register struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); 245 struct ip6_hdr *ip6; 294 struct ip6_hdr *ip6; 333 ip6 = mtod(m, struct ip6_hdr *); 416 off += sizeof(struct ip6_hdr);
|
H A D | ipcomp_output.c | 247 struct ip6_hdr *ip6 = NULL; 265 ip6 = mtod(m, struct ip6_hdr *); 373 if (m->m_len < sizeof(struct ip6_hdr)) {
|
H A D | ah_input.c | 564 struct ip6_hdr *ip6; 587 ip6 = mtod(m, struct ip6_hdr *); 742 struct ip6_hdr *nip6; 748 + sizeof(struct ip6_hdr), 751 nip6 = (struct ip6_hdr *)((u_char *)(ah + 1) + sizoff + siz1); 822 ip6 = mtod(m, struct ip6_hdr *); 866 ip6 = mtod(m, struct ip6_hdr *); 904 ip6 = mtod(m, struct ip6_hdr *); 946 struct ip6_hdr *ip6;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/ |
H A D | tcp_debug.h | 82 struct ip6_hdr ip6; 84 u_char ip6buf[40]; /* sizeof(struct ip6_hdr) */
|
H A D | in_gif.c | 145 struct ip6_hdr *ip6; 152 ip6 = mtod(m, struct ip6_hdr *); 280 struct ip6_hdr *ip6; 288 ip6 = mtod(m, struct ip6_hdr *);
|
H A D | kpi_ipfilter.c | 336 struct ip6_hdr *ip6; 343 if ((size_t)m->m_len < sizeof(struct ip6_hdr)) { 344 m = m_pullup(m, sizeof(struct ip6_hdr)); 347 ip6 = (struct ip6_hdr*)m_mtod(m);
|
H A D | tcp_subr.c | 331 #define TCP_MINPROTOHDR (sizeof(struct ip6_hdr) + sizeof(struct tcphdr)) 393 struct ip6_hdr *ip6; 395 ip6 = (struct ip6_hdr *)ip_ptr; 492 struct ip6_hdr *ip6; 535 sizeof(struct ip6_hdr)); 536 ip6 = mtod(m, struct ip6_hdr *); 580 tlen += sizeof (struct ip6_hdr) + sizeof (struct tcphdr); 626 sizeof(struct ip6_hdr), 627 tlen - sizeof(struct ip6_hdr)); 908 (isipv6 ? sizeof (struct ip6_hdr) [all...] |