Searched refs:nflog_hdr_t (Results 1 – 3 of 3) sorted by relevance
49 nflog_hdr_print(netdissect_options *ndo, const nflog_hdr_t *hdr, u_int length) in nflog_hdr_print()72 const nflog_hdr_t *hdr = (const nflog_hdr_t *)p; in nflog_if_print()75 uint16_t h_size = sizeof(nflog_hdr_t); in nflog_if_print()79 if (caplen < (int) sizeof(nflog_hdr_t) || length < (int) sizeof(nflog_hdr_t)) { in nflog_if_print()92 p += sizeof(nflog_hdr_t); in nflog_if_print()93 length -= sizeof(nflog_hdr_t); in nflog_if_print()94 caplen -= sizeof(nflog_hdr_t); in nflog_if_print()157 length + sizeof(nflog_hdr_t)); in nflog_if_print()
1313 nflog_hdr_t *nfhdr = (nflog_hdr_t *)buf; in swap_nflog_header()1319 if (caplen < (int) sizeof(nflog_hdr_t) || length < (int) sizeof(nflog_hdr_t)) { in swap_nflog_header()1329 length -= sizeof(nflog_hdr_t); in swap_nflog_header()1330 caplen -= sizeof(nflog_hdr_t); in swap_nflog_header()1331 p += sizeof(nflog_hdr_t); in swap_nflog_header()
46 } nflog_hdr_t; typedef