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_MARK.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'extensions/libipt_MARK.c') diff --git a/extensions/libipt_MARK.c b/extensions/libipt_MARK.c index b841352..8157f1e 100644 --- a/extensions/libipt_MARK.c +++ b/extensions/libipt_MARK.c @@ -31,7 +31,7 @@ static struct option opts[] = { /* Initialize the target. */ static void -init(struct ipt_entry_target *t, unsigned int *nfcache) +init(struct xt_entry_target *t, unsigned int *nfcache) { } @@ -40,7 +40,7 @@ init(struct ipt_entry_target *t, unsigned int *nfcache) static int parse_v0(int c, char **argv, int invert, unsigned int *flags, const struct ipt_entry *entry, - struct ipt_entry_target **target) + struct xt_entry_target **target) { struct ipt_mark_target_info *markinfo = (struct ipt_mark_target_info *)(*target)->data; @@ -82,7 +82,7 @@ final_check(unsigned int flags) static int parse_v1(int c, char **argv, int invert, unsigned int *flags, const struct ipt_entry *entry, - struct ipt_entry_target **target) + struct xt_entry_target **target) { struct ipt_mark_target_info_v1 *markinfo = (struct ipt_mark_target_info_v1 *)(*target)->data; @@ -121,7 +121,7 @@ print_mark(unsigned long mark) /* Prints out the targinfo. */ static void print_v0(const struct ipt_ip *ip, - const struct ipt_entry_target *target, + const struct xt_entry_target *target, int numeric) { const struct ipt_mark_target_info *markinfo = @@ -132,7 +132,7 @@ print_v0(const struct ipt_ip *ip, /* Saves the union ipt_targinfo in parsable form to stdout. */ static void -save_v0(const struct ipt_ip *ip, const struct ipt_entry_target *target) +save_v0(const struct ipt_ip *ip, const struct xt_entry_target *target) { const struct ipt_mark_target_info *markinfo = (const struct ipt_mark_target_info *)target->data; @@ -144,7 +144,7 @@ save_v0(const struct ipt_ip *ip, const struct ipt_entry_target *target) /* Prints out the targinfo. */ static void print_v1(const struct ipt_ip *ip, - const struct ipt_entry_target *target, + const struct xt_entry_target *target, int numeric) { const struct ipt_mark_target_info_v1 *markinfo = @@ -166,7 +166,7 @@ print_v1(const struct ipt_ip *ip, /* Saves the union ipt_targinfo in parsable form to stdout. */ static void -save_v1(const struct ipt_ip *ip, const struct ipt_entry_target *target) +save_v1(const struct ipt_ip *ip, const struct xt_entry_target *target) { const struct ipt_mark_target_info_v1 *markinfo = (const struct ipt_mark_target_info_v1 *)target->data; -- cgit v1.2.3