From b85256b07a2939d712a2547bc151653eae511909 Mon Sep 17 00:00:00 2001 From: Yasuyuki KOZAKAI Date: Tue, 24 Jul 2007 05:58:56 +0000 Subject: Replaces ip6t_entry_* with xt_entry_* in matches/targets --- extensions/libip6t_tcp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'extensions/libip6t_tcp.c') diff --git a/extensions/libip6t_tcp.c b/extensions/libip6t_tcp.c index 8af65ea8..8e46deb8 100644 --- a/extensions/libip6t_tcp.c +++ b/extensions/libip6t_tcp.c @@ -131,7 +131,7 @@ parse_tcp_option(const char *option, u_int8_t *result) /* Initialize the match. */ static void -init(struct ip6t_entry_match *m, unsigned int *nfcache) +init(struct xt_entry_match *m, unsigned int *nfcache) { struct ip6t_tcp *tcpinfo = (struct ip6t_tcp *)m->data; @@ -149,7 +149,7 @@ static int parse(int c, char **argv, int invert, unsigned int *flags, const struct ip6t_entry *entry, unsigned int *nfcache, - struct ip6t_entry_match **match) + struct xt_entry_match **match) { struct ip6t_tcp *tcpinfo = (struct ip6t_tcp *)(*match)->data; @@ -318,7 +318,7 @@ print_flags(u_int8_t mask, u_int8_t cmp, int invert, int numeric) /* Prints out the union ipt_matchinfo. */ static void print(const struct ip6t_ip6 *ip, - const struct ip6t_entry_match *match, int numeric) + const struct xt_entry_match *match, int numeric) { const struct ip6t_tcp *tcp = (struct ip6t_tcp *)match->data; @@ -341,7 +341,7 @@ print(const struct ip6t_ip6 *ip, } /* Saves the union ipt_matchinfo in parsable form to stdout. */ -static void save(const struct ip6t_ip6 *ip, const struct ip6t_entry_match *match) +static void save(const struct ip6t_ip6 *ip, const struct xt_entry_match *match) { const struct ip6t_tcp *tcpinfo = (struct ip6t_tcp *)match->data; -- cgit v1.2.3