]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - net/netfilter/xt_socket.c
netfilter: xtables: substitute temporary defines by final name
[mv-sheeva.git] / net / netfilter / xt_socket.c
index a9b16867e1f7b67f4a3624ec79f7334aa70894c2..2665e32d5db14f2389a89ea096166638d0393902 100644 (file)
@@ -88,7 +88,7 @@ extract_icmp_fields(const struct sk_buff *skb,
 
 
 static bool
-socket_match(const struct sk_buff *skb, const struct xt_match_param *par,
+socket_match(const struct sk_buff *skb, const struct xt_action_param *par,
             const struct xt_socket_mtinfo1 *info)
 {
        const struct iphdr *iph = ip_hdr(skb);
@@ -174,13 +174,13 @@ socket_match(const struct sk_buff *skb, const struct xt_match_param *par,
 }
 
 static bool
-socket_mt_v0(const struct sk_buff *skb, const struct xt_match_param *par)
+socket_mt_v0(const struct sk_buff *skb, const struct xt_action_param *par)
 {
        return socket_match(skb, par, NULL);
 }
 
 static bool
-socket_mt_v1(const struct sk_buff *skb, const struct xt_match_param *par)
+socket_mt_v1(const struct sk_buff *skb, const struct xt_action_param *par)
 {
        return socket_match(skb, par, par->matchinfo);
 }