summaryrefslogtreecommitdiff
path: root/print-carp.c
Commit message (Collapse)AuthorAgeFilesLines
* u_intN_t is dead, long live uintN_t.Guy Harris2014-04-231-1/+1
| | | | | | | | | 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.
* 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-3/+0
| | | | Don't include unneeded headers and replace a few remaining printf's.
* CARP: NDOizeDenis Ovsienko2014-02-251-15/+16
|
* don't include addrtoname.h needlesslyDenis Ovsienko2014-02-251-1/+0
|
* Don't include <unistd.h>.Guy Harris2013-07-031-1/+0
| | | | | | | On UN*X, <tcpdump-stdinc.h> already includes it; on Windows, it doesn't exist, and therefore shouldn't be included. Thanks and a tip of the Hatlo hat to Gisle Vanem for this.
* CARP: fix Windows compile errorDenis Ovsienko2013-07-031-2/+0
| | | | | | | (the issue was discovered by Gisle Vanem) netinet/in.h shouldn't be included during a Windows compile. The fix is to remove the #include from print-carp.c and let tcpdump-stdinc.h do its job.
* Add a CARP dissector and a command-line option to dissect proto 112 as CARP.George Neville-Neil2011-11-231-0/+88
CARP and VRRP both use IP protocol number 112, so there needs to be a -T flag to specify that protocol 112 be dissected as CARP rather than VRRP. Also update the man page.