diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-04-24 11:56:00 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-05-28 12:34:58 +0200 |
commit | e47233151ca5098b268281329b119a398918d75f (patch) | |
tree | daad052b56858108e870bbb9075186ccf6a88b98 /include/conntrackd.h | |
parent | 1250135046b96f2778bda51517c8a722171a6c16 (diff) | |
download | conntrack-tools-e47233151ca5098b268281329b119a398918d75f.tar.gz conntrack-tools-e47233151ca5098b268281329b119a398918d75f.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/conntrackd.h')
-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; |