summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
author/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org>2005-10-16 21:13:29 +0000
committer/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org>2005-10-16 21:13:29 +0000
commitda9b980f8d34c436b31d5a0a09b4ea27849c9c82 (patch)
tree8b3e27bae375b64c2b3d35e1e9b1bb226f9514a1 /include
parentcce8dd1bd45465dd9b18e4f02b5d007cb39079b0 (diff)
downloadconntrack-tools-da9b980f8d34c436b31d5a0a09b4ea27849c9c82.tar.gz
conntrack-tools-da9b980f8d34c436b31d5a0a09b4ea27849c9c82.zip
See ChangeLog
Diffstat (limited to 'include')
-rw-r--r--include/libct_proto.h25
1 files changed, 7 insertions, 18 deletions
diff --git a/include/libct_proto.h b/include/libct_proto.h
index b358e1a..db434d6 100644
--- a/include/libct_proto.h
+++ b/include/libct_proto.h
@@ -1,11 +1,9 @@
#ifndef _LIBCT_PROTO_H
#define _LIBCT_PROTO_H
-/* FIXME: Rename this file pablo... */
-
#include "linux_list.h"
#include <getopt.h>
-#include <libnfnetlink_conntrack/libnfnetlink_conntrack.h>
+#include <libnetfilter_conntrack/libnetfilter_conntrack.h>
#define LIBCT_VERSION "0.1.0"
@@ -16,8 +14,6 @@
#define IPS_DST_NAT_DONE (1 << 8)
#define IPS_CONFIRMED (1 << 3)
-struct cta_proto;
-
struct ctproto_handler {
struct list_head head;
@@ -28,20 +24,15 @@ struct ctproto_handler {
enum ctattr_protoinfo protoinfo_attr;
int (*parse_opts)(char c, char *argv[],
- struct ctnl_tuple *orig,
- struct ctnl_tuple *reply,
- struct ctnl_tuple *mask,
- union ctnl_protoinfo *proto,
+ struct nfct_tuple *orig,
+ struct nfct_tuple *reply,
+ struct nfct_tuple *mask,
+ union nfct_protoinfo *proto,
unsigned int *flags);
- void (*parse_proto)(struct nfattr *cda[], struct ctnl_tuple *tuple);
- void (*parse_protoinfo)(struct nfattr *cda[],
- struct ctnl_conntrack *ct);
- void (*print_proto)(struct ctnl_tuple *t);
- void (*print_protoinfo)(union ctnl_protoinfo *protoinfo);
int (*final_check)(unsigned int flags,
- struct ctnl_tuple *orig,
- struct ctnl_tuple *reply);
+ struct nfct_tuple *orig,
+ struct nfct_tuple *reply);
void (*help)();
@@ -53,8 +44,6 @@ struct ctproto_handler {
extern void register_proto(struct ctproto_handler *h);
extern void unregister_proto(struct ctproto_handler *h);
-extern struct ctproto_handler *findproto(char *name);
-
#define NIPQUAD(addr) \
((unsigned char *)&addr)[0], \
((unsigned char *)&addr)[1], \