summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_esp.c
diff options
context:
space:
mode:
author/C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org </C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org>2007-07-24 05:57:28 +0000
committer/C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org </C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org>2007-07-24 05:57:28 +0000
commit1a4d6af42f4892f142838a838c94f64d5040ce72 (patch)
treeb5b7df5233fba070c21fcef1eb140e4bafcf357c /extensions/libipt_esp.c
parent25ee718700952ea8e3e154ba15df5cd4d8994428 (diff)
Replaces ipt_entry_* with xt_entry_* in matches/targets
Diffstat (limited to 'extensions/libipt_esp.c')
-rw-r--r--extensions/libipt_esp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/libipt_esp.c b/extensions/libipt_esp.c
index 21e912b..380af84 100644
--- a/extensions/libipt_esp.c
+++ b/extensions/libipt_esp.c
@@ -71,7 +71,7 @@ parse_esp_spis(const char *spistring, u_int32_t *spis)
/* Initialize the match. */
static void
-init(struct ipt_entry_match *m, unsigned int *nfcache)
+init(struct xt_entry_match *m, unsigned int *nfcache)
{
struct ipt_esp *espinfo = (struct ipt_esp *)m->data;
@@ -86,7 +86,7 @@ static int
parse(int c, char **argv, int invert, unsigned int *flags,
const struct ipt_entry *entry,
unsigned int *nfcache,
- struct ipt_entry_match **match)
+ struct xt_entry_match **match)
{
struct ipt_esp *espinfo = (struct ipt_esp *)(*match)->data;
@@ -138,7 +138,7 @@ print_spis(const char *name, u_int32_t min, u_int32_t max,
/* Prints out the union ipt_matchinfo. */
static void
print(const struct ipt_ip *ip,
- const struct ipt_entry_match *match, int numeric)
+ const struct xt_entry_match *match, int numeric)
{
const struct ipt_esp *esp = (struct ipt_esp *)match->data;
@@ -151,7 +151,7 @@ print(const struct ipt_ip *ip,
}
/* Saves the union ipt_matchinfo in parsable form to stdout. */
-static void save(const struct ipt_ip *ip, const struct ipt_entry_match *match)
+static void save(const struct ipt_ip *ip, const struct xt_entry_match *match)
{
const struct ipt_esp *espinfo = (struct ipt_esp *)match->data;