[PATCH] Added icmp6 options and router preference

Dan Lüdtke maildanrl@gmail.com
Wed Feb 12 21:35:00 GMT 2014


> +struct nd_opt_address_reg     /* address registration option */
> +  {
> +    uint8_t   nd_opt_ar_type;
> +    uint8_t   nd_opt_ar_len;
> +    uint8_t   nd_opt_ar_status;
> +    uint8_t   nd_opt_ar_reserved1;
> +    uint16_t  nd_opt_ar_reserved2;
> +    uint64_t  nd_opt_ar_eui64;
> +  };

Alternative way: uint8_t  nd_opt_ar_eui64[8];
What do you think?

-- 
Dan Luedtke
http://www.danrl.de



More information about the Libc-alpha mailing list