summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_TTL.c
diff options
context:
space:
mode:
authorYasuyuki KOZAKAI <yasuyuki@netfilter.org>2007-07-24 05:57:28 +0000
committerYasuyuki KOZAKAI <yasuyuki@netfilter.org>2007-07-24 05:57:28 +0000
commit193df8ee3507f0c02762c88a16916c4ea950bd99 (patch)
treeb5b7df5233fba070c21fcef1eb140e4bafcf357c /extensions/libipt_TTL.c
parent5cd1ff53a500256997519ec1d871750773c44803 (diff)
Replaces ipt_entry_* with xt_entry_* in matches/targets
Diffstat (limited to 'extensions/libipt_TTL.c')
-rw-r--r--extensions/libipt_TTL.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/libipt_TTL.c b/extensions/libipt_TTL.c
index ca83f295..5c88f799 100644
--- a/extensions/libipt_TTL.c
+++ b/extensions/libipt_TTL.c
@@ -16,7 +16,7 @@
#define IPT_TTL_USED 1
-static void init(struct ipt_entry_target *t, unsigned int *nfcache)
+static void init(struct xt_entry_target *t, unsigned int *nfcache)
{
}
@@ -32,7 +32,7 @@ static void help(void)
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_TTL_info *info = (struct ipt_TTL_info *) (*target)->data;
unsigned int value;
@@ -97,7 +97,7 @@ static void final_check(unsigned int flags)
}
static void save(const struct ipt_ip *ip,
- const struct ipt_entry_target *target)
+ const struct xt_entry_target *target)
{
const struct ipt_TTL_info *info =
(struct ipt_TTL_info *) target->data;
@@ -118,7 +118,7 @@ static void save(const struct ipt_ip *ip,
}
static void print(const struct ipt_ip *ip,
- const struct ipt_entry_target *target, int numeric)
+ const struct xt_entry_target *target, int numeric)
{
const struct ipt_TTL_info *info =
(struct ipt_TTL_info *) target->data;