-/* Binding Update Option */
-struct ip6_opt_binding_update {
- u_int8_t ip6ou_type;
- u_int8_t ip6ou_len;
- u_int8_t ip6ou_flags;
- u_int8_t ip6ou_prefixlen;
- u_int8_t ip6ou_seqno[2];
- u_int8_t ip6ou_lifetime[4];
- u_int8_t ip6ou_coa[16];/* Optional based on flags */
- /* followed by sub-options */
-};
-
-/* Binding Update Flags */
-#define IP6_BUF_ACK 0x80 /* Request a binding ack */
-#define IP6_BUF_HOME 0x40 /* Home Registration */
-#define IP6_BUF_COA 0x20 /* Care-of-address present in option */
-#define IP6_BUF_ROUTER 0x10 /* Sending mobile node is a router */
-
-/* Binding Ack Option */
-struct ip6_opt_binding_ack {
- u_int8_t ip6oa_type;
- u_int8_t ip6oa_len;
- u_int8_t ip6oa_status;
- u_int8_t ip6oa_seqno[2];
- u_int8_t ip6oa_lifetime[4];
- u_int8_t ip6oa_refresh[4];
- /* followed by sub-options */
-};
-
-/* Binding Request Option */
-struct ip6_opt_binding_request {
- u_int8_t ip6or_type;
- u_int8_t ip6or_len;
- /* followed by sub-options */
-};
-
-/* Home Address Option */
-struct ip6_opt_home_address {
- u_int8_t ip6oh_type;
- u_int8_t ip6oh_len;
- u_int8_t ip6oh_addr[16];/* Home Address */
- /* followed by sub-options */
-};
-