Lines Matching refs:hdrlen
74 uint32_t dlt, hdrlen; in pktap_header_print() local
80 hdrlen = EXTRACT_LE_32BITS(&hdr->pkt_len); in pktap_header_print()
84 (dltname != NULL ? dltname : "UNKNOWN"), dlt, hdrlen)); in pktap_header_print()
102 uint32_t dlt, hdrlen, rectype; in pktap_if_print() local
115 hdrlen = EXTRACT_LE_32BITS(&hdr->pkt_len); in pktap_if_print()
116 if (hdrlen < sizeof(pktap_header_t)) { in pktap_if_print()
127 if (caplen < hdrlen || length < hdrlen) { in pktap_if_print()
129 return (hdrlen); in pktap_if_print()
135 length -= hdrlen; in pktap_if_print()
136 caplen -= hdrlen; in pktap_if_print()
137 p += hdrlen; in pktap_if_print()
151 hdrlen += printer(ndo, &nhdr, p); in pktap_if_print()
155 length + hdrlen); in pktap_if_print()
163 return (hdrlen); in pktap_if_print()