diff options
author | Yasuyuki KOZAKAI <yasuyuki@netfilter.org> | 2007-07-24 05:57:28 +0000 |
---|---|---|
committer | Yasuyuki KOZAKAI <yasuyuki@netfilter.org> | 2007-07-24 05:57:28 +0000 |
commit | 193df8ee3507f0c02762c88a16916c4ea950bd99 (patch) | |
tree | b5b7df5233fba070c21fcef1eb140e4bafcf357c /extensions/libipt_hashlimit.c | |
parent | 5cd1ff53a500256997519ec1d871750773c44803 (diff) |
Replaces ipt_entry_* with xt_entry_* in matches/targets
Diffstat (limited to 'extensions/libipt_hashlimit.c')
-rw-r--r-- | extensions/libipt_hashlimit.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/libipt_hashlimit.c b/extensions/libipt_hashlimit.c index 6fb0eccb..527b2e8e 100644 --- a/extensions/libipt_hashlimit.c +++ b/extensions/libipt_hashlimit.c @@ -96,7 +96,7 @@ int parse_rate(const char *rate, u_int32_t *val) /* Initialize the match. */ static void -init(struct ipt_entry_match *m, unsigned int *nfcache) +init(struct xt_entry_match *m, unsigned int *nfcache) { struct ipt_hashlimit_info *r = (struct ipt_hashlimit_info *)m->data; @@ -153,7 +153,7 @@ static int parse(int c, char **argv, int invert, unsigned int *flags, const struct ipt_entry *entry, unsigned int *nfcache, - struct ipt_entry_match **match) + struct xt_entry_match **match) { struct ipt_hashlimit_info *r = (struct ipt_hashlimit_info *)(*match)->data; @@ -305,7 +305,7 @@ static void print_mode(const struct ipt_hashlimit_info *r, char separator) /* Prints out the matchinfo. */ static void print(const struct ipt_ip *ip, - const struct ipt_entry_match *match, + const struct xt_entry_match *match, int numeric) { struct ipt_hashlimit_info *r = @@ -325,7 +325,7 @@ print(const struct ipt_ip *ip, } /* FIXME: Make minimalist: only print rate if not default --RR */ -static void save(const struct ipt_ip *ip, const struct ipt_entry_match *match) +static void save(const struct ipt_ip *ip, const struct xt_entry_match *match) { struct ipt_hashlimit_info *r = (struct ipt_hashlimit_info *)match->data; |