diff options
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-05-01 23:19:42 +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-05-01 23:19:42 +0000 |
commit | d894e26211f38db37015850afab6b7331edeecdb (patch) | |
tree | 27f9eb6baebd2fc2c5b54c97b4775797b69e43ba /include/libct_proto.h | |
parent | 21ed4ac1f957f1e4d7be195a98fb235de13ede21 (diff) | |
download | conntrack-tools-d894e26211f38db37015850afab6b7331edeecdb.tar.gz conntrack-tools-d894e26211f38db37015850afab6b7331edeecdb.zip |
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)
Diffstat (limited to 'include/libct_proto.h')
-rw-r--r-- | include/libct_proto.h | 9 |
1 files changed, 8 insertions, 1 deletions
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 <getopt.h> +#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); |