
544 Chapter 5—Mobile IPv6
143 u_int16_t ip6mhct_nonce_index; /* idx of the CN nonce list array */
144 union {
145 u_int8_t __cookie8[8];
146 u_int32_t __cookie32[2];
147 } __ip6mhct_cookie;
148 union {
149 u_int8_t __keygen8[8];
150 u_int32_t __keygen32[2];
151 } __ip6mhct_keygen;
152 /* followed by mobility options */
153 } __attribute__((__packed__));
154 #ifdef _KERNEL
155 #define ip6mhct_proto ip6mhct_hdr.ip6mh_proto
156 #define ip6mhct_len ip6mhct_hdr.ip6mh_len
157 #define ip6mhct_type ip6mhct_hdr.ip6mh_type
158 #define ip6mhct_reserved0 ip6mhct_hdr.ip6mh_reserved
159 #define ip6mhct_cksum ip6mhct_hdr.ip6mh_cksum
160 #define ip6mhct_cookie8 __ip6mhct_cookie.__cookie8 ...