summaryrefslogtreecommitdiff
path: root/ip.h
diff options
context:
space:
mode:
authorhannes <hannes>2004-09-27 21:13:09 +0000
committerhannes <hannes>2004-09-27 21:13:09 +0000
commit5e6014ea380263ae6fe4511330aa9b1acacd2cec (patch)
tree15eac77b3d4d9cb914ac426349b3b208cfc2ea54 /ip.h
parent3b97eb047bfcee083e490e19c72f11fec4bd7a02 (diff)
downloadtcpdump-5e6014ea380263ae6fe4511330aa9b1acacd2cec.tar.gz
clean up the ip options printer:
- make more use of tok2str() - always display the option length - move option defines into ip.h
Diffstat (limited to 'ip.h')
-rw-r--r--ip.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ip.h b/ip.h
index eba63668..3a496da2 100644
--- a/ip.h
+++ b/ip.h
@@ -1,4 +1,4 @@
-/* @(#) $Header: /tcpdump/master/tcpdump/ip.h,v 1.10 2002-12-11 07:13:53 guy Exp $ (LBL) */
+/* @(#) $Header: /tcpdump/master/tcpdump/ip.h,v 1.11 2004-09-27 21:13:10 hannes Exp $ (LBL) */
/*
* Copyright (c) 1982, 1986, 1993
* The Regents of the University of California. All rights reserved.
@@ -106,6 +106,7 @@ struct ip {
#define IPOPT_LSRR 131 /* loose source route */
#define IPOPT_SATID 136 /* satnet id */
#define IPOPT_SSRR 137 /* strict source route */
+#define IPOPT_RA 148 /* router-alert, rfc2113 */
/*
* Offsets to fields in options other than EOL and NOP.