From 1a4d6af42f4892f142838a838c94f64d5040ce72 Mon Sep 17 00:00:00 2001 From: "/C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org" Date: Tue, 24 Jul 2007 05:57:28 +0000 Subject: Replaces ipt_entry_* with xt_entry_* in matches/targets --- extensions/libipt_icmp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'extensions/libipt_icmp.c') diff --git a/extensions/libipt_icmp.c b/extensions/libipt_icmp.c index a6e642a..d6fd485 100644 --- a/extensions/libipt_icmp.c +++ b/extensions/libipt_icmp.c @@ -169,7 +169,7 @@ parse_icmp(const char *icmptype, u_int8_t *type, u_int8_t code[]) /* 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_icmp *icmpinfo = (struct ipt_icmp *)m->data; @@ -183,7 +183,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_icmp *icmpinfo = (struct ipt_icmp *)(*match)->data; @@ -247,7 +247,7 @@ static void print_icmptype(u_int8_t type, /* Prints out the union ipt_matchinfo. */ static void print(const struct ipt_ip *ip, - const struct ipt_entry_match *match, + const struct xt_entry_match *match, int numeric) { const struct ipt_icmp *icmp = (struct ipt_icmp *)match->data; @@ -263,7 +263,7 @@ print(const struct ipt_ip *ip, } /* Saves the match 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_icmp *icmp = (struct ipt_icmp *)match->data; -- cgit v1.2.3