Searched refs:nflog_hdr_t (Results 1 – 3 of 3) sorted by relevance
50 nflog_hdr_print(netdissect_options *ndo, const nflog_hdr_t *hdr, u_int length) in nflog_hdr_print()73 const nflog_hdr_t *hdr = (const nflog_hdr_t *)p; in nflog_if_print()76 uint16_t h_size = sizeof(nflog_hdr_t); in nflog_if_print()80 if (caplen < (int) sizeof(nflog_hdr_t) || length < (int) sizeof(nflog_hdr_t)) { in nflog_if_print()93 p += sizeof(nflog_hdr_t); in nflog_if_print()94 length -= sizeof(nflog_hdr_t); in nflog_if_print()95 caplen -= sizeof(nflog_hdr_t); in nflog_if_print()158 length + sizeof(nflog_hdr_t)); in nflog_if_print()
1598 nflog_hdr_t *nfhdr = (nflog_hdr_t *)buf; in swap_nflog_header()1604 if (caplen < (u_int) sizeof(nflog_hdr_t) || in swap_nflog_header()1605 length < (u_int) sizeof(nflog_hdr_t)) { in swap_nflog_header()1615 length -= sizeof(nflog_hdr_t); in swap_nflog_header()1616 caplen -= sizeof(nflog_hdr_t); in swap_nflog_header()1617 p += sizeof(nflog_hdr_t); in swap_nflog_header()
48 } nflog_hdr_t; typedef