Lines Matching defs:hlen
253 int hlen;
260 hlen = 0;
267 hlen = sizeof(struct ether_header);
274 hlen = 0;
278 hlen = 24;
286 hlen = 0;
297 hlen = 12; /* XXX 4(ATM_PH) + 3(LLC) + 5(SNAP) */
303 hlen = 4; /* This should match PPP_HDRLEN */
308 hlen = sizeof(struct firewire_header);
313 hlen = 0;
318 hlen = 0;
327 *datlen = len - hlen;
341 if ((hlen + SOCKADDR_HDR_LEN) > sockp->sa_len) {
352 hlen = 0;
372 if (hlen != 0) {
373 m->m_pkthdr.len -= hlen;
374 m->m_len -= hlen;
375 m->m_data += hlen; /* XXX */
376 error = UIOMOVE((caddr_t)sockp->sa_data, hlen, UIO_WRITE, uio);
380 error = UIOMOVE(mtod(m, caddr_t), len - hlen, UIO_WRITE, uio);
1978 size_t hlen,
2028 hack_hdr.mh_len = hlen;
2063 size_t hlen)
2065 bpf_tap_imp(ifp, dlt, m, hdr, hlen, 1);
2074 size_t hlen)
2076 bpf_tap_imp(ifp, dlt, m, hdr, hlen, 0);