From 381827a8152d27d8afe92a914968b814ec9ac155 Mon Sep 17 00:00:00 2001 From: Arturo Borrero Gonzalez Date: Thu, 20 Apr 2017 19:28:00 +0200 Subject: conntrackd: factorice tx_queue functions They are shared by both sync-ftfw and sync-notrack. Signed-off-by: Arturo Borrero Gonzalez Signed-off-by: Pablo Neira Ayuso --- include/Makefile.am | 2 +- include/queue_tx.h | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 include/queue_tx.h (limited to 'include') diff --git a/include/Makefile.am b/include/Makefile.am index e81463a..84fd608 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -6,5 +6,5 @@ noinst_HEADERS = alarm.h jhash.h cache.h linux_list.h linux_rbtree.h \ network.h filter.h queue.h vector.h cidr.h \ traffic_stats.h netlink.h fds.h event.h bitops.h channel.h \ process.h origin.h internal.h external.h date.h nfct.h \ - helper.h myct.h stack.h systemd.h + helper.h myct.h stack.h systemd.h queue_tx.h diff --git a/include/queue_tx.h b/include/queue_tx.h new file mode 100644 index 0000000..e29b1f0 --- /dev/null +++ b/include/queue_tx.h @@ -0,0 +1,7 @@ +#ifndef _QUEUE_TX_H_ +#define _QUEUE_TX_H_ + +void tx_queue_add_ctlmsg(uint32_t flags, uint32_t from, uint32_t to); +void tx_queue_add_ctlmsg2(uint32_t flags); + +#endif /* _QUEUE_TX_H_ */ -- cgit v1.2.3