/* packet-mip6.h
*
- * $Id: packet-mip6.h,v 1.2 2003/07/11 09:30:48 guy Exp $
+ * $Id: packet-mip6.h,v 1.4 2003/12/16 19:31:40 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>
/* Binding Acknowledgement status values */
static const value_string mip6_ba_status_value[] = {
{ 0, "Binding Update accepted" },
+ { 1, "Accepted but prefix discovery necessary" },
{ 128, "Reason unspecified" },
- { 129, "Adminstratively prohibited" },
+ { 129, "Administratively prohibited" },
{ 130, "Insufficient resources" },
{ 131, "Home registration not supported" },
{ 132, "Not home subnet" },
{ 133, "Not home agent for this mobile node" },
- { 134, "Duplicate address detection failed" },
+ { 134, "Duplicate Address Detection failed" },
{ 135, "Sequence number out of window" },
{ 136, "Expired home nonce index" },
{ 137, "Expired care-of nonce index" },
{ 138, "Expired nonces" },
+ { 139, "Registration type change disallowed" },
{ 0, NULL }
};
#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__ */