This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / include / linux / netfilter_ipv6 / ip6_tables.h
index d6ac08c..6f70cf3 100644 (file)
@@ -355,15 +355,13 @@ struct ip6t_match
 
        /* Return true or false: return FALSE and set *hotdrop = 1 to
            force immediate packet drop. */
-       /* Arguments changed since 2.6.9, as this must now handle
-          non-linear skb, using skb_header_pointer and
-          skb_ip_make_writable. */
        int (*match)(const struct sk_buff *skb,
                     const struct net_device *in,
                     const struct net_device *out,
                     const void *matchinfo,
                     int offset,
-                    unsigned int protoff,
+                    const void *hdr,
+                    u_int16_t datalen,
                     int *hotdrop);
 
        /* Called when user tries to insert an entry of this type. */
@@ -388,13 +386,11 @@ struct ip6t_target
 
        const char name[IP6T_FUNCTION_MAXNAMELEN];
 
-       /* Returns verdict. Argument order changed since 2.6.9, as this
-          must now handle non-linear skbs, using skb_copy_bits and
-          skb_ip_make_writable. */
+       /* Returns verdict. */
        unsigned int (*target)(struct sk_buff **pskb,
+                              unsigned int hooknum,
                               const struct net_device *in,
                               const struct net_device *out,
-                              unsigned int hooknum,
                               const void *targinfo,
                               void *userdata);