]>
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 _U_
)
18 ip_print(ndo
, p
, length
);
23 nflog_if_print(struct netdissect_options
*ndo
,
24 const struct pcap_pkthdr
*h
, const u_char
*p
)
26 if (h
->len
< 104 || h
->caplen
< 104) {
27 ND_PRINT((ndo
, "[!nflog]"));
31 nflog_print(ndo
, p
+ 104, h
->len
- 104, h
->caplen
- 104);
36 #endif /* DLT_NFLOG */