diff options
author | Yasuyuki KOZAKAI <yasuyuki@netfilter.org> | 2007-07-24 05:57:28 +0000 |
---|---|---|
committer | Yasuyuki KOZAKAI <yasuyuki@netfilter.org> | 2007-07-24 05:57:28 +0000 |
commit | 193df8ee3507f0c02762c88a16916c4ea950bd99 (patch) | |
tree | b5b7df5233fba070c21fcef1eb140e4bafcf357c /extensions/libipt_TCPMSS.c | |
parent | 5cd1ff53a500256997519ec1d871750773c44803 (diff) |
Replaces ipt_entry_* with xt_entry_* in matches/targets
Diffstat (limited to 'extensions/libipt_TCPMSS.c')
-rw-r--r-- | extensions/libipt_TCPMSS.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/extensions/libipt_TCPMSS.c b/extensions/libipt_TCPMSS.c index c3256f00..f2e18a76 100644 --- a/extensions/libipt_TCPMSS.c +++ b/extensions/libipt_TCPMSS.c @@ -12,7 +12,7 @@ #include <linux/netfilter_ipv4/ipt_TCPMSS.h> struct mssinfo { - struct ipt_entry_target t; + struct xt_entry_target t; struct ipt_tcpmss_info mss; }; @@ -35,7 +35,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) { } @@ -44,7 +44,7 @@ init(struct ipt_entry_target *t, unsigned int *nfcache) 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_tcpmss_info *mssinfo = (struct ipt_tcpmss_info *)(*target)->data; @@ -89,7 +89,7 @@ final_check(unsigned int flags) /* 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_tcpmss_info *mssinfo = @@ -102,7 +102,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_tcpmss_info *mssinfo = (const struct ipt_tcpmss_info *)target->data; |