mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-12-02 14:33:29 +08:00
5b0329a9e7
To: tcpdump-workers@lists.tcpdump.org Date: Sat, 09 Apr 2011 12:51:14 +1000 Subject: [tcpdump-workers] Printing PPI packets Printing PPI packets with tcpdump does not turn out to be that hard. My simple tests have produced the output as below. It would be worthwhile having some changes made into the tcpdump code base that were similar to the attached that print them out.
10 lines
145 B
C
10 lines
145 B
C
typedef struct ppi_header {
|
|
uint8_t ppi_ver;
|
|
uint8_t ppi_flags;
|
|
uint16_t ppi_len;
|
|
uint32_t ppi_dlt;
|
|
} ppi_header_t;
|
|
|
|
#define PPI_HDRLEN 8
|
|
|