nfsd4: create rpc callback client from server thread
[safe/jmp/linux-2.6] / include / linux / icmpv6.h
index e4d4300..10d701e 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef _LINUX_ICMPV6_H
 #define _LINUX_ICMPV6_H
 
+#include <linux/types.h>
 #include <asm/byteorder.h>
 
 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 <asm/byteorder.h>"
 #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,