summaryrefslogtreecommitdiff
path: root/print-ppi.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix PPI header and payload printing.Guy Harris2014-09-231-8/+18
| | | | | | | Header printing (-e) had a stray ", " before the header; remove it. Payload printing was skipping only the fixed portion of the PPI header, not the entire header.
* Fields in PPI headers are little-endian, not big-endian.Guy Harris2014-04-261-3/+3
| | | | Fixes GitHub issue #382.
* u_intN_t is dead, long live uintN_t.Guy Harris2014-04-231-3/+3
| | | | | | | | | And, as we require at least autoconf 2.61, and as autoconf 2.61 and later have AC_TYPE_UINTn_T and AC_TYPE_INTn_T macros, we use them to define the uintN_t and intN_t macros if the system doesn't define them for us. This lets us get rid of bitypes.h as well.
* Netdissectify the to-name resolution routines.Guy Harris2014-04-041-3/+3
| | | | | | | | Have them take a netdissect_options * argument, and get the "no name resolution" flag from it. Move the declaration of dnaddr_string to addrtoname.h, along with the other XXX-to-string routines.
* make use of ND_DEFAULTPRINT()Denis Ovsienko2014-03-261-1/+1
|
* make use of NETDISSECT_REWORKEDDenis Ovsienko2014-03-151-1/+1
| | | | | Update the already converted decoders to define the macro and to include interface.h instead of netdissect.h. Fix incurred compile errors.
* refine some past NDO conversionsDenis Ovsienko2014-03-121-2/+0
| | | | Don't include unneeded headers and replace a few remaining printf's.
* don't include pcap.h needlesslyDenis Ovsienko2014-02-281-1/+0
| | | | | | | | | | Both interface.h and netdissect.h include <pcap.h>, thus most files should not include it regardless if these need it or not. The only exceptions so far remain: * addrtoname.c * missing/datalinks.c * missing/dlnames.c * tcpdump.c
* Pull a bunch of headers into the only source file that includes them.Guy Harris2013-12-301-1/+9
| | | | | | For headers included in only one source file, put the header contents in the source file in question, and get rid of a bunch of stuff from the header not used in the source file.
* Declare all local variables before any executable statements.Guy Harris2011-08-141-1/+2
| | | | Some C compilers let you get away with that C++-ism; not all do.
* From: Darren Reed <darren.reed@oracle.com>Michael Richardson2011-05-031-0/+103
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.