aboutsummaryrefslogtreecommitdiffstats
path: root/packet-mip6.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-07-11 21:03:13 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-07-11 21:03:13 +0000
commitfc409472d339e1bf8aa48a7bea1afc8f82191a58 (patch)
treec7d27e4b15896d2394a3ee80b8a99675f98c6ea6 /packet-mip6.h
parent87d13bbfe890c5b7990976b8d6d631d5280c6c83 (diff)
Put relevant field offset and lengths back in packet-mip6.h, along with
option lengths, and use them in packet-mip6.c. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8016 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-mip6.h')
-rw-r--r--packet-mip6.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/packet-mip6.h b/packet-mip6.h
index 9cee274c1e..acee89b967 100644
--- a/packet-mip6.h
+++ b/packet-mip6.h
@@ -1,6 +1,6 @@
/* packet-mip6.h
*
- * $Id: packet-mip6.h,v 1.2 2003/07/11 09:30:48 guy Exp $
+ * $Id: packet-mip6.h,v 1.3 2003/07/11 21:03:13 guy Exp $
*
* Definitions for Mobile IPv6 dissection (draft-ietf-mobileip-ipv6-20.txt)
* Copyright 2003 Oy L M Ericsson Ab <teemu.rinta-aho@ericsson.fi>
@@ -189,4 +189,21 @@ static const value_string mip6_be_status_value[] = {
#define MIP6_BE_RES_LEN 1
#define MIP6_BE_HOA_LEN 16
+/* Field offsets & field and option lengths for mobility options */
+#define MIP6_BRA_LEN 2
+#define MIP6_BRA_RI_OFF 2
+#define MIP6_BRA_RI_LEN 2
+
+#define MIP6_ACOA_LEN 16
+#define MIP6_ACOA_ACOA_OFF 2
+#define MIP6_ACOA_ACOA_LEN 16
+
+#define MIP6_NI_LEN 4
+#define MIP6_NI_HNI_OFF 2
+#define MIP6_NI_CNI_OFF 4
+#define MIP6_NI_HNI_LEN 2
+#define MIP6_NI_CNI_LEN 2
+
+#define MIP6_BAD_AUTH_OFF 2
+
#endif /* __PACKET_MIP6_H_DEFINED__ */