netfilter: xtables: move extension arguments into compound structure (2/6)
[deliverable/linux.git] / net / bridge / netfilter / ebt_among.c
index 0ad0db3e815d2ddccf08cfdbbb28116caae194f9..b595f091f35b9cf1c2fc9bd6378edbc5fc5a90a2 100644 (file)
@@ -171,14 +171,11 @@ ebt_among_mt(const struct sk_buff *skb, const struct xt_match_param *par)
        return true;
 }
 
-static bool
-ebt_among_mt_check(const char *table, const void *entry,
-                  const struct xt_match *match, void *data,
-                  unsigned int hook_mask)
+static bool ebt_among_mt_check(const struct xt_mtchk_param *par)
 {
+       const struct ebt_among_info *info = par->matchinfo;
        const struct ebt_entry_match *em =
-               container_of(data, const struct ebt_entry_match, data);
-       const struct ebt_among_info *info = data;
+               container_of(par->matchinfo, const struct ebt_entry_match, data);
        int expected_length = sizeof(struct ebt_among_info);
        const struct ebt_mac_wormhash *wh_dst, *wh_src;
        int err;
This page took 0.032875 seconds and 5 git commands to generate.