summaryrefslogtreecommitdiff
path: root/ipproto.h
diff options
context:
space:
mode:
authorGeorge Neville-Neil <gnn@freebsd.org>2011-11-23 11:53:13 -0800
committerGuy Harris <guy@alum.mit.edu>2011-11-23 11:53:13 -0800
commit5d52dbf4c7340b9e79f280b2b444c9b652a3458f (patch)
tree072857910c958cb18d6f7393239a1d371d906dab /ipproto.h
parent36b75f7121d9aa251dfc42b590dd8b93f7a8288a (diff)
downloadtcpdump-5d52dbf4c7340b9e79f280b2b444c9b652a3458f.tar.gz
Add a CARP dissector and a command-line option to dissect proto 112 as CARP.
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.
Diffstat (limited to 'ipproto.h')
-rw-r--r--ipproto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ipproto.h b/ipproto.h
index 96407541..c9801a62 100644
--- a/ipproto.h
+++ b/ipproto.h
@@ -133,6 +133,9 @@ extern const struct tok ipproto_values[];
#ifndef IPPROTO_VRRP
#define IPPROTO_VRRP 112
#endif
+#ifndef IPPROTO_CARP
+#define IPPROTO_CARP 112
+#endif
#ifndef IPPROTO_PGM
#define IPPROTO_PGM 113
#endif