]> git.pld-linux.org Git - packages/tcpdump.git/blob - tcpdump-ppi.patch
1bc851b1272a3b0a513e8aa470166a9d7a9d2291
[packages/tcpdump.git] / tcpdump-ppi.patch
1 commit 2e0ba2d689cbf0abbd8df4408956bcb8a46d50a4
2 Author: Romain Francoise <rfrancoise@debian.org>
3 Date:   Sun Aug 14 14:43:23 2011 -0700
4
5     Make sure ppi.h is in the release tarball.
6     
7     Reviewed-By: Guy Harris <guy@alum.mit.edu>
8
9 diff --git a/Makefile.in b/Makefile.in
10 index 265b47e..04a58dc 100644
11 --- a/Makefile.in
12 +++ b/Makefile.in
13 @@ -168,6 +168,7 @@ HDR = \
14         oui.h \
15         pcap-missing.h \
16         pmap_prot.h \
17 +       ppi.h \
18         ppp.h \
19         route6d.h \
20         rpc_auth.h \
21 commit 5b0329a9e755e860c3ac8cd6cf383f58261e445d
22 Author: Michael Richardson <mcr@sandelman.ca>
23 Date:   Tue May 3 18:58:32 2011 -0400
24
25     From: Darren Reed <darren.reed@oracle.com>
26     To: tcpdump-workers@lists.tcpdump.org
27     Date: Sat, 09 Apr 2011 12:51:14 +1000
28     Subject: [tcpdump-workers] Printing PPI packets
29     
30     Printing PPI packets with tcpdump does not turn out
31     to be that hard.
32     
33     My simple tests have produced the output as below.
34     
35     It would be worthwhile having some changes made into
36     the tcpdump code base that were similar to the attached
37     that print them out.
38
39 diff --git a/ppi.h b/ppi.h
40 new file mode 100644
41 index 0000000..733eb95
42 --- /dev/null
43 +++ b/ppi.h
44 @@ -0,0 +1,9 @@
45 +typedef struct ppi_header {
46 +       uint8_t         ppi_ver;
47 +       uint8_t         ppi_flags;
48 +       uint16_t        ppi_len;
49 +       uint32_t        ppi_dlt;
50 +} ppi_header_t;
51 +
52 +#define        PPI_HDRLEN      8
53 +
This page took 0.044921 seconds and 2 git commands to generate.