diff options
author | Arturo Borrero Gonzalez <arturo@debian.org> | 2017-04-20 19:28:11 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-05-08 19:50:28 +0200 |
commit | 131df891f77dc75515d5eabdedd9818105d29f5a (patch) | |
tree | f3796e75c40ebd4ac63d0a1d013934b358d22abf /include/resync.h | |
parent | 381827a8152d27d8afe92a914968b814ec9ac155 (diff) |
conntrackd: factorize resync operations
Resync operations factorization. There are two:
* resync_send --> conntrackd -B (send bulk resync)
* resync_req --> conntrackd -n (request resync)
Future patches reuse this factorized code.
Signed-off-by: Arturo Borrero Gonzalez <arturo@debian.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/resync.h')
-rw-r--r-- | include/resync.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/resync.h b/include/resync.h new file mode 100644 index 0000000..5986600 --- /dev/null +++ b/include/resync.h @@ -0,0 +1,7 @@ +#ifndef _RESYNC_H_ +#define _RESYNC_H_ + +void resync_req(void); +void resync_send(int (*do_cache_to_tx)(void *data1, void *data2)); + +#endif /*_RESYNC_H_ */ |