X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/585ac3db0663f474fd3417ea91953b58022cc9d9..47fc89d711eec0a073d9b3b293a1af901b5bd791:/print-mobility.c diff --git a/print-mobility.c b/print-mobility.c index efc18131..d4dfcc0c 100644 --- a/print-mobility.c +++ b/print-mobility.c @@ -60,6 +60,8 @@ struct ip6_mobility { #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 */ @@ -70,6 +72,11 @@ struct ip6_mobility { #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 */