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_TOS.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'extensions/libipt_TOS.c') diff --git a/extensions/libipt_TOS.c b/extensions/libipt_TOS.c index 999f7b0..2a5185e 100644 --- a/extensions/libipt_TOS.c +++ b/extensions/libipt_TOS.c @@ -9,7 +9,7 @@ #include struct tosinfo { - struct ipt_entry_target t; + struct xt_entry_target t; struct ipt_tos_target_info tos; }; @@ -54,7 +54,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) { } @@ -87,7 +87,7 @@ parse_tos(const char *s, struct ipt_tos_target_info *info) static int parse(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_tos_target_info *tosinfo = (struct ipt_tos_target_info *)(*target)->data; @@ -134,7 +134,7 @@ print_tos(u_int8_t tos, int numeric) /* Prints out the targinfo. */ static void print(const struct ipt_ip *ip, - const struct ipt_entry_target *target, + const struct xt_entry_target *target, int numeric) { const struct ipt_tos_target_info *tosinfo = @@ -145,7 +145,7 @@ print(const struct ipt_ip *ip, /* Saves the union ipt_targinfo in parsable form to stdout. */ static void -save(const struct ipt_ip *ip, const struct ipt_entry_target *target) +save(const struct ipt_ip *ip, const struct xt_entry_target *target) { const struct ipt_tos_target_info *tosinfo = (const struct ipt_tos_target_info *)target->data; -- cgit v1.2.3