From 4db878d6f81fd64029c48003f4e1ae57069a7c65 Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org" Date: Tue, 1 May 2007 18:30:03 +0000 Subject: introduce the new expectation API --- src/conntrack/parse.c | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'src/conntrack/parse.c') diff --git a/src/conntrack/parse.c b/src/conntrack/parse.c index 5cbd302..b9bc095 100644 --- a/src/conntrack/parse.c +++ b/src/conntrack/parse.c @@ -133,10 +133,10 @@ static void __parse_proto(const struct nfattr *attr, } } -static void __parse_tuple(const struct nfattr *attr, - struct __nfct_tuple *tuple, - int dir, - u_int32_t *set) +void __parse_tuple(const struct nfattr *attr, + struct __nfct_tuple *tuple, + int dir, + u_int32_t *set) { struct nfattr *tb[CTA_TUPLE_MAX]; @@ -148,15 +148,6 @@ static void __parse_tuple(const struct nfattr *attr, __parse_proto(tb[CTA_TUPLE_PROTO-1], tuple, dir, set); } -static void __parse_mask(const struct nfattr *attr, - struct __nfct_tuple *tuple, - const u_int8_t l3protonum, - const u_int16_t protonum, - u_int32_t *set) -{ - __parse_tuple(attr, tuple, __DIR_ORIG, set); -} - static void __parse_protoinfo_tcp(const struct nfattr *attr, struct nf_conntrack *ct) { -- cgit v1.2.3