Merge branch 'tracing-v28-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[sfrench/cifs-2.6.git] / include / linux / icmpv6.h
index 7c5e9817e998aaf0f8ec23de91ab0d39b1d237f5..a93a8dd33118f5fe900e2e6a2e79672bdb1f1319 100644 (file)
@@ -40,16 +40,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
@@ -176,12 +178,21 @@ extern void                               icmpv6_send(struct sk_buff *skb,
                                                    __u32 info, 
                                                    struct net_device *dev);
 
-extern int                             icmpv6_init(struct net_proto_family *ops);
+extern int                             icmpv6_init(void);
 extern int                             icmpv6_err_convert(int type, int code,
                                                           int *err);
 extern void                            icmpv6_cleanup(void);
 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,
+                                                        const struct in6_addr *saddr,
+                                                        const struct in6_addr *daddr,
+                                                        int oif);
 #endif
 
 #endif