]>
The Tcpdump Group git mirrors - tcpdump/blob - print-nflog.c
5 #include <tcpdump-stdinc.h>
10 #include "netdissect.h"
11 #include "interface.h"
16 nflog_print(struct netdissect_options
*ndo
, const u_char
*p
, u_int length
, u_int caplen
)
18 ip_print(ndo
, p
, length
);
23 nflog_if_print(struct netdissect_options
*ndo
,
24 const struct pcap_pkthdr
*h
, const u_char
*p
)
28 /* Discard NFLOG header */
29 for (j
= 0; j
< 104; j
++) {
33 nflog_print(ndo
, p
, h
->len
- 104, h
->caplen
- 104);
38 #endif /* DLT_NFLOG */