From d894e26211f38db37015850afab6b7331edeecdb Mon Sep 17 00:00:00 2001 From: "/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org" Date: Sun, 1 May 2005 23:19:42 +0000 Subject: o Created changelog file o Deleted libctnetlink.h and libnfnetlink.h from the include/ dir. o Added support for version (-V) and help (-h) o Added event mask based support o Added GPLv2 headers o Use fprintf instead of printf o Defined print_tuple and print_proto output interfaces o ctnl_[get|del]_conntrack handles return value from kernel via msgerr o Added support for conntrack table flushing o Added test case file (test.sh) o Improve dump output o Autoconf stuff for conntrack + some pablo's modifications. o Fixed packet counters formatting (use %llu instead of %lu) --- include/libct_proto.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'include/libct_proto.h') diff --git a/include/libct_proto.h b/include/libct_proto.h index 416d916..1049cef 100644 --- a/include/libct_proto.h +++ b/include/libct_proto.h @@ -1,9 +1,15 @@ #ifndef _LIBCT_PROTO_H #define _LIBCT_PROTO_H +/* FIXME: Rename this file pablo... */ + #include "linux_list.h" #include +#define CONNTRACK_LIB_DIR "/usr/local/lib" + +struct cta_proto; + struct ctproto_handler { struct list_head head; @@ -15,7 +21,8 @@ struct ctproto_handler { struct ip_conntrack_tuple *reply, union ip_conntrack_proto *proto, unsigned int *flags); - void (*print)(struct ip_conntrack_tuple *t); + void (*print_tuple)(struct ip_conntrack_tuple *t); + void (*print_proto)(union ip_conntrack_proto *proto); int (*final_check)(unsigned int flags); -- cgit v1.2.3