#include "config.h"
#endif
-#ifndef lint
-static const char rcsid[] _U_ =
- "@(#) $Header: /tcpdump/master/tcpdump/print-mobility.c,v 1.12 2005-04-20 22:21:00 guy Exp $";
-#endif
-
#ifdef INET6
#include <tcpdump-stdinc.h>
#define IP6M_MINLEN 8
+/* http://www.iana.org/assignments/mobility-parameters/mobility-parameters.xhtml */
+
/* message type */
#define IP6M_BINDING_REQUEST 0 /* Binding Refresh Request */
#define IP6M_HOME_TEST_INIT 1 /* Home Test Init */
#define IP6M_BINDING_ACK 6 /* Binding Acknowledgement */
#define IP6M_BINDING_ERROR 7 /* Binding Error */
+/* XXX: unused */
+#define IP6MOPT_BU_MINLEN 10
+#define IP6MOPT_BA_MINLEN 13
+#define IP6MOPT_BR_MINLEN 2
+
/* Mobility Header Options */
#define IP6MOPT_MINLEN 2
#define IP6MOPT_PAD1 0x0 /* Pad1 */