Lines Matching refs:hdrlen
228 unsigned ipoptlen, optlen, hdrlen;
790 hdrlen = sizeof (struct ip6_hdr) + sizeof (struct tcphdr);
793 hdrlen = sizeof (struct tcpiphdr);
1003 hdrlen += optlen;
1039 if (max_linkhdr + hdrlen > MCLBYTES)
1042 if (max_linkhdr + hdrlen > MHLEN)
1064 (int)len, max_linkhdr + hdrlen)) == 0) {
1071 m->m_len += hdrlen;
1072 m->m_data -= hdrlen;
1088 if (MHLEN < hdrlen + max_linkhdr) {
1101 m->m_len = hdrlen;
1104 if (len <= MHLEN - hdrlen - max_linkhdr) {
1112 m->m_len = hdrlen;
1121 mtod(m, caddr_t) + hdrlen);
1162 m->m_len = hdrlen;
1190 if (isipv6 && (MHLEN < hdrlen + max_linkhdr) &&
1191 MHLEN >= hdrlen) {
1192 MH_ALIGN(m, hdrlen);
1196 m->m_len = hdrlen;
1310 m->m_pkthdr.len = hdrlen + len; /* in6_cksum() need this */