Home
last modified time | relevance | path

Searched refs:nflog_hdr_t (Results 1 – 3 of 3) sorted by relevance

/external/tcpdump/
Dprint-nflog.c50 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()
/external/libpcap/
Dpcap-common.c1460 nflog_hdr_t *nfhdr = (nflog_hdr_t *)buf; in swap_nflog_header()
1466 if (caplen < (u_int) sizeof(nflog_hdr_t) || in swap_nflog_header()
1467 length < (u_int) sizeof(nflog_hdr_t)) { in swap_nflog_header()
1477 length -= sizeof(nflog_hdr_t); in swap_nflog_header()
1478 caplen -= sizeof(nflog_hdr_t); in swap_nflog_header()
1479 p += sizeof(nflog_hdr_t); in swap_nflog_header()
/external/libpcap/pcap/
Dnflog.h48 } nflog_hdr_t; typedef