From 1a4d6af42f4892f142838a838c94f64d5040ce72 Mon Sep 17 00:00:00 2001 From: "/C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org" Date: Tue, 24 Jul 2007 05:57:28 +0000 Subject: Replaces ipt_entry_* with xt_entry_* in matches/targets --- extensions/libipt_set.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'extensions/libipt_set.c') diff --git a/extensions/libipt_set.c b/extensions/libipt_set.c index cf5d19d..b9f3122 100644 --- a/extensions/libipt_set.c +++ b/extensions/libipt_set.c @@ -38,7 +38,7 @@ static struct option opts[] = { }; /* Initialize the match. */ -static void init(struct ipt_entry_match *match, unsigned int *nfcache) +static void init(struct xt_entry_match *match, unsigned int *nfcache) { struct ipt_set_info_match *info = (struct ipt_set_info_match *) match->data; @@ -52,7 +52,7 @@ static void init(struct ipt_entry_match *match, unsigned int *nfcache) 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) + unsigned int *nfcache, struct xt_entry_match **match) { struct ipt_set_info_match *myinfo = (struct ipt_set_info_match *) (*match)->data; @@ -127,7 +127,7 @@ print_match(const char *prefix, const struct ipt_set_info *info) /* Prints out the matchinfo. */ static void print(const struct ipt_ip *ip, - const struct ipt_entry_match *match, int numeric) + const struct xt_entry_match *match, int numeric) { struct ipt_set_info_match *info = (struct ipt_set_info_match *) match->data; @@ -137,7 +137,7 @@ print(const struct ipt_ip *ip, /* Saves the matchinfo in parsable form to stdout. */ static void save(const struct ipt_ip *ip, - const struct ipt_entry_match *match) + const struct xt_entry_match *match) { struct ipt_set_info_match *info = (struct ipt_set_info_match *) match->data; -- cgit v1.2.3