path: root/extensions/libipt_udp.c
diff options
author/C=JP/ST=JP/CN=Yasuyuki Kozakai/ </C=JP/ST=JP/CN=Yasuyuki Kozakai/>2007-07-24 05:57:28 +0000
committer/C=JP/ST=JP/CN=Yasuyuki Kozakai/ </C=JP/ST=JP/CN=Yasuyuki Kozakai/>2007-07-24 05:57:28 +0000
commit1a4d6af42f4892f142838a838c94f64d5040ce72 (patch)
treeb5b7df5233fba070c21fcef1eb140e4bafcf357c /extensions/libipt_udp.c
parent25ee718700952ea8e3e154ba15df5cd4d8994428 (diff)
Replaces ipt_entry_* with xt_entry_* in matches/targets
Diffstat (limited to 'extensions/libipt_udp.c')
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/libipt_udp.c b/extensions/libipt_udp.c
index 7f461d8..0d7cb97 100644
--- a/extensions/libipt_udp.c
+++ b/extensions/libipt_udp.c
@@ -55,7 +55,7 @@ parse_udp_ports(const char *portstring, u_int16_t *ports)
/* 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_udp *udpinfo = (struct ipt_udp *)m->data;
@@ -71,7 +71,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_udp *udpinfo = (struct ipt_udp *)(*match)->data;
@@ -157,7 +157,7 @@ print_ports(const char *name, u_int16_t min, u_int16_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_udp *udp = (struct ipt_udp *)match->data;
@@ -174,7 +174,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_udp *udpinfo = (struct ipt_udp *)match->data;