Lines Matching refs:hdrlen
73 uint32_t dlt, hdrlen; in pktap_header_print() local
78 hdrlen = EXTRACT_LE_32BITS(&hdr->pkt_len); in pktap_header_print()
81 pcap_datalink_val_to_name(dlt), dlt, hdrlen)); in pktap_header_print()
99 uint32_t dlt, hdrlen, rectype; in pktap_if_print() local
112 hdrlen = EXTRACT_LE_32BITS(&hdr->pkt_len); in pktap_if_print()
113 if (hdrlen < sizeof(pktap_header_t)) { in pktap_if_print()
124 if (caplen < hdrlen || length < hdrlen) { in pktap_if_print()
126 return (hdrlen); in pktap_if_print()
132 length -= hdrlen; in pktap_if_print()
133 caplen -= hdrlen; in pktap_if_print()
134 p += hdrlen; in pktap_if_print()
151 length + hdrlen); in pktap_if_print()
159 return (hdrlen); in pktap_if_print()