Searched refs:ip6_plen (Results 1 - 19 of 19) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/
H A Dfrag6.c191 if (ip6->ip6_plen == 0) {
204 (((ntohs(ip6->ip6_plen) - offset) & 0x7) != 0)) {
207 offsetof(struct ip6_hdr, ip6_plen));
292 frgpartlen = sizeof(struct ip6_hdr) + ntohs(ip6->ip6_plen) - offset;
353 ip6af->ip6af_len = ip6->ip6_plen;
496 ip6->ip6_plen = htons((u_short)next + offset - sizeof(struct ip6_hdr));
H A Desp_input.c595 if (ntohs(ip6->ip6_plen) == 0) {
705 ip6->ip6_plen = htons(ntohs(ip6->ip6_plen) - siz);
799 ip6->ip6_plen = htons(ntohs(ip6->ip6_plen) - taillen);
937 ip6->ip6_plen = htons(ntohs(ip6->ip6_plen) - stripsiz);
H A Dudp6_output.c295 #if 0 /* ip6_plen will be filled in ip6_output. */
296 ip6->ip6_plen = htons((u_short)plen);
H A Din6_gif.c158 ip6->ip6_plen = htons((u_short)m->m_pkthdr.len);
H A Dip6_fw.c305 len = ntohs(ip6->ip6_plen) + sizeof(struct ip6_hdr);
761 f->fw_bcnt += ntohs(ip6->ip6_plen);
856 } else if (ip6->ip6_plen) {
857 ack += ntohs(ip6->ip6_plen) + sizeof(*ip6)
H A Dip6_input.c778 plen = (u_int32_t)ntohs(ip6->ip6_plen);
798 if (ip6->ip6_plen == 0 && plen == 0) {
810 (caddr_t)&ip6->ip6_plen - (caddr_t)ip6);
1161 if (ip6->ip6_plen) {
H A Dah_input.c593 if (ntohs(ip6->ip6_plen) == 0) {
906 ip6->ip6_plen = htons(ntohs(ip6->ip6_plen) - stripsiz);
H A Dah_output.c433 ip6->ip6_plen = htons(m->m_pkthdr.len - sizeof(struct ip6_hdr));
H A Dnd6_nbr.c398 /* ip6->ip6_plen will be set later */
510 ip6->ip6_plen = htons((u_short)icmp6len);
965 ip6->ip6_plen = htons((u_short)icmp6len);
H A Dip6_output.c325 ip6->ip6_plen = 0;
327 ip6->ip6_plen = htons(plen);
1017 } else if (ip6->ip6_plen == 0) { /* jumbo payload cannot be fragmented */
1094 mhip6->ip6_plen = htons((u_short)(len + hlen +
H A Dudp6_usrreq.c217 plen = ntohs(ip6->ip6_plen) - off + sizeof(*ip6);
H A Dicmp6.c571 * Adjust mbuf. ip6_plen will be adjusted in
2231 int icmp6len = ntohs(ip6->ip6_plen);
2531 /* ip6->ip6_plen will be set later */
2694 ip6->ip6_plen = htons(m->m_pkthdr.len - sizeof(struct ip6_hdr));
2698 = in6_cksum(m, IPPROTO_ICMPV6, sizeof(*ip6), ntohs(ip6->ip6_plen));
H A Dip6_mroute.c1795 ntohs(eip6->ip6_plen));
H A Dipsec.c2326 ip6->ip6_plen = htons(plen);
2328 /* ip6->ip6_plen will be updated in ip6_output() */
3186 ip6->ip6_plen = htons(plen);
3521 ip6->ip6_plen = htons(plen);
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Dip6.h119 #define ip6_plen ip6_ctlun.ip6_un1.ip6_un1_plen macro
H A Dtcp_debug.c210 isipv6 ? ((struct ip6_hdr *)ipgen)->ip6_plen :
H A Dtcp_subr.c401 ip6->ip6_plen = sizeof(struct tcphdr);
578 ip6->ip6_plen = htons((u_short)(sizeof (struct tcphdr) +
H A Dudp_usrreq.c700 ip6->ip6_plen = ip->ip_len;
H A Dtcp_input.c600 tlen = sizeof(*ip6) + ntohs(ip6->ip6_plen) - off0;

Completed in 77 milliseconds