This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Added icmp6 options and router preference


> +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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]