Lines Matching defs:hdrlen
198 in_undefer_cksum(struct mbuf *mh, size_t hdrlen, int csum_flags)
207 KASSERT(mh->m_pkthdr.len > hdrlen);
216 if (m->m_len <= hdrlen) {
217 hdrlen -= m->m_len;
222 if (__predict_true(hdrlen + sizeof(struct ip) <= m->m_len)) {
223 struct ip *ip = (struct ip *)(mtod(m, uint8_t *) + hdrlen);
229 hdrlen + offsetof(struct ip, ip_len);
237 csum = in4_cksum(m, 0, hdrlen, iphdrlen);
241 const size_t offset = hdrlen +
249 size_t l4offset = hdrlen + iphdrlen;