X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=include%2Flinux%2Ficmpv6.h;h=10d701eec484cb353508afa13efbf63d506e2759;hb=e249458220c9799fe94573abd341d29c83579671;hp=e4d4300d768fd6fdef3bf76195969b31da8f77f9;hpb=95e41e93e18d8e1e272ce23d96bae4f17ce11d42;p=safe%2Fjmp%2Flinux-2.6 diff --git a/include/linux/icmpv6.h b/include/linux/icmpv6.h index e4d4300..10d701e 100644 --- a/include/linux/icmpv6.h +++ b/include/linux/icmpv6.h @@ -1,6 +1,7 @@ #ifndef _LINUX_ICMPV6_H #define _LINUX_ICMPV6_H +#include #include struct icmp6hdr { @@ -40,16 +41,18 @@ struct icmp6hdr { struct icmpv6_nd_ra { __u8 hop_limit; #if defined(__LITTLE_ENDIAN_BITFIELD) - __u8 reserved:4, + __u8 reserved:3, router_pref:2, + home_agent:1, other:1, managed:1; #elif defined(__BIG_ENDIAN_BITFIELD) __u8 managed:1, other:1, + home_agent:1, router_pref:2, - reserved:4; + reserved:3; #else #error "Please fix " #endif @@ -184,6 +187,7 @@ extern void icmpv6_param_prob(struct sk_buff *skb, int code, int pos); struct flowi; +struct in6_addr; extern void icmpv6_flow_init(struct sock *sk, struct flowi *fl, u8 type,