Lines Matching refs:hdrlen
105 uint8_t hdrlen; member
580 uint32_t hdrlen; in fix_packets() local
593 temp.hdrlen = hdr->bh_hdrlen; in fix_packets()
596 hdrlen = hdr->bh_hdrlen; in fix_packets()
599 if ((hdrlen >= sizeof(temp)) && (hdrlen <= 255) && in fix_packets()
600 ((ptr + hdrlen) <= (data + datalen))) { in fix_packets()
602 memset(ptr + sizeof(temp), 0, hdrlen - sizeof(temp)); in fix_packets()
604 err(EXIT_FAILURE, "Invalid header length %d", hdrlen); in fix_packets()
607 next = ptr + BPF_WORDALIGN(hdrlen + caplen); in fix_packets()
631 temp.hdrlen = hdr32->hdrlen; in print_packets()
634 next = ptr + roundup2(temp.hdrlen + temp.caplen, temp.align); in print_packets()
641 temp.hdrlen, temp.caplen); in print_packets()