diff options
Diffstat (limited to 'extensions/libipt_MARK.c')
-rw-r--r-- | extensions/libipt_MARK.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/extensions/libipt_MARK.c b/extensions/libipt_MARK.c index b8413522..8157f1e4 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; |