From 193df8ee3507f0c02762c88a16916c4ea950bd99 Mon Sep 17 00:00:00 2001 From: Yasuyuki KOZAKAI Date: Tue, 24 Jul 2007 05:57:28 +0000 Subject: Replaces ipt_entry_* with xt_entry_* in matches/targets --- extensions/libipt_DSCP.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'extensions/libipt_DSCP.c') diff --git a/extensions/libipt_DSCP.c b/extensions/libipt_DSCP.c index c50d902b..26f70bde 100644 --- a/extensions/libipt_DSCP.c +++ b/extensions/libipt_DSCP.c @@ -22,7 +22,7 @@ #include "libipt_dscp_helper.c" -static void init(struct ipt_entry_target *t, unsigned int *nfcache) +static void init(struct xt_entry_target *t, unsigned int *nfcache) { } @@ -79,7 +79,7 @@ parse_class(const char *s, struct ipt_DSCP_info *dinfo) 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_DSCP_info *dinfo = (struct ipt_DSCP_info *)(*target)->data; @@ -124,7 +124,7 @@ print_dscp(u_int8_t dscp, 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_DSCP_info *dinfo = @@ -135,7 +135,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_DSCP_info *dinfo = (const struct ipt_DSCP_info *)target->data; -- cgit v1.2.3