diff options
author | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org> | 2008-01-15 13:40:35 +0000 |
---|---|---|
committer | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org> | 2008-01-15 13:40:35 +0000 |
commit | 6dd62d2a2b8c06507c3e2eb5026a43e2deb3da6e (patch) | |
tree | 3efcf3343e4f1867a239e3fce4efffe7b00829aa /include | |
parent | 4e37e2d9079b4c1890a39f26e5082d6b1e7d0024 (diff) | |
download | conntrack-tools-6dd62d2a2b8c06507c3e2eb5026a43e2deb3da6e.tar.gz conntrack-tools-6dd62d2a2b8c06507c3e2eb5026a43e2deb3da6e.zip |
Add include/netlink.h and include/traffic_stats.h
Diffstat (limited to 'include')
-rw-r--r-- | include/netlink.h | 21 | ||||
-rw-r--r-- | include/traffic_stats.h | 10 |
2 files changed, 31 insertions, 0 deletions
diff --git a/include/netlink.h b/include/netlink.h new file mode 100644 index 0000000..543eeda --- /dev/null +++ b/include/netlink.h @@ -0,0 +1,21 @@ +#ifndef _NETLINK_H_ +#define _NETLINK_H_ + +struct nf_conntrack; +struct nfct_handle; + +int ignore_conntrack(struct nf_conntrack *ct); + +int nl_init_event_handler(void); + +int nl_init_dump_handler(void); + +void nl_resize_socket_buffer(struct nfct_handle *h); + +int nl_dump_conntrack_table(void); + +int nl_create_conntrack(struct nf_conntrack *ct); + +int nl_destroy_conntrack(struct nf_conntrack *ct); + +#endif diff --git a/include/traffic_stats.h b/include/traffic_stats.h new file mode 100644 index 0000000..71fd268 --- /dev/null +++ b/include/traffic_stats.h @@ -0,0 +1,10 @@ +#ifndef _TRAFFIC_STATS_H_ +#define _TRAFFIC_STATS_H_ + +struct nf_conntrack; + +void update_traffic_stats(struct nf_conntrack *ct); + +void dump_traffic_stats(int fd); + +#endif |