diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-04-24 11:56:00 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-08-01 19:19:45 +0200 |
commit | 5a0d0ecf30fb1686cfb10aaa852fee9c8ed4360a (patch) | |
tree | 2e7d5fd1b08d8a0717e90206a050af3eda34271f /include | |
parent | c712ccebc993cad3f73000bbe9e4788ebeb95ca2 (diff) | |
download | conntrack-tools-5a0d0ecf30fb1686cfb10aaa852fee9c8ed4360a.tar.gz conntrack-tools-5a0d0ecf30fb1686cfb10aaa852fee9c8ed4360a.zip |
conntrackd: move ctnetlink code to ctnl.c (removed from run.c)
This patch moves the specific ctnetlink code to ctnl.c to prepare
the introduction of the cthelper infrastructure.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/conntrackd.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/conntrackd.h b/include/conntrackd.h index 0e203e7..ec720ec 100644 --- a/include/conntrackd.h +++ b/include/conntrackd.h @@ -268,7 +268,12 @@ struct ct_mode { void (*kill)(void); }; -/* conntrackd modes */ +/* basic ctnl functions */ +void ctnl_kill(void); +int ctnl_local(int fd, int type, void *data); +int ctnl_init(void); + +/* conntrackd ctnl modes */ extern struct ct_mode sync_mode; extern struct ct_mode stats_mode; |