diff options
author | /C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org </C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org> | 2007-07-24 05:58:56 +0000 |
---|---|---|
committer | /C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org </C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org> | 2007-07-24 05:58:56 +0000 |
commit | e690c8c9816c477797cabd4a6ed0de847be8eb38 (patch) | |
tree | 27d44956a1397d149d8b5958fde0051b4f2390c0 /extensions/libip6t_limit.c | |
parent | 1a4d6af42f4892f142838a838c94f64d5040ce72 (diff) |
Replaces ip6t_entry_* with xt_entry_* in matches/targets
Diffstat (limited to 'extensions/libip6t_limit.c')
-rw-r--r-- | extensions/libip6t_limit.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/libip6t_limit.c b/extensions/libip6t_limit.c index 6c88ee1..2a5a9b2 100644 --- a/extensions/libip6t_limit.c +++ b/extensions/libip6t_limit.c @@ -74,7 +74,7 @@ int parse_rate(const char *rate, u_int32_t *val) /* Initialize the match. */ static void -init(struct ip6t_entry_match *m, unsigned int *nfcache) +init(struct xt_entry_match *m, unsigned int *nfcache) { struct ip6t_rateinfo *r = (struct ip6t_rateinfo *)m->data; @@ -95,7 +95,7 @@ static int parse(int c, char **argv, int invert, unsigned int *flags, const struct ip6t_entry *entry, unsigned int *nfcache, - struct ip6t_entry_match **match) + struct xt_entry_match **match) { struct ip6t_rateinfo *r = (struct ip6t_rateinfo *)(*match)->data; unsigned int num; @@ -157,7 +157,7 @@ static void print_rate(u_int32_t period) /* Prints out the matchinfo. */ static void print(const struct ip6t_ip6 *ip, - const struct ip6t_entry_match *match, + const struct xt_entry_match *match, int numeric) { struct ip6t_rateinfo *r = (struct ip6t_rateinfo *)match->data; @@ -166,7 +166,7 @@ print(const struct ip6t_ip6 *ip, } /* FIXME: Make minimalist: only print rate if not default --RR */ -static void save(const struct ip6t_ip6 *ip, const struct ip6t_entry_match *match) +static void save(const struct ip6t_ip6 *ip, const struct xt_entry_match *match) { struct ip6t_rateinfo *r = (struct ip6t_rateinfo *)match->data; |