diff options
| author | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-01-17 17:54:57 +0100 | 
|---|---|---|
| committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-01-17 17:54:57 +0100 | 
| commit | 786f37040cdcb64b24eb0b437307ed5e208f717f (patch) | |
| tree | 4441b2aa4e376c30e30a416f87e06597d87516c0 /include | |
| parent | 4ec9fc2bcceb4e609c43af1a2ecf8d1d87b55d5c (diff) | |
| download | conntrack-tools-786f37040cdcb64b24eb0b437307ed5e208f717f.tar.gz conntrack-tools-786f37040cdcb64b24eb0b437307ed5e208f717f.zip | |
sync: add generic tx_queue for all synchronization modes
This patch adds a generic tx queue for all synchronization modes.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/conntrackd.h | 1 | ||||
| -rw-r--r-- | include/sync.h | 3 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/include/conntrackd.h b/include/conntrackd.h index 8cb520d..3637e2c 100644 --- a/include/conntrackd.h +++ b/include/conntrackd.h @@ -150,6 +150,7 @@ struct ct_sync_state {  	struct mcast_sock *mcast_server;  /* multicast socket: incoming */  	struct mcast_sock *mcast_client;  /* multicast socket: outgoing  */ +	struct queue *tx_queue;  	struct sync_mode *sync;		/* sync mode */ diff --git a/include/sync.h b/include/sync.h index 9a9540c..bced1cc 100644 --- a/include/sync.h +++ b/include/sync.h @@ -18,8 +18,7 @@ struct sync_mode {  	int  (*local)(int fd, int type, void *data);  	int  (*recv)(const struct nethdr *net);  	void (*send)(struct nethdr *net, struct cache_object *obj); -	void (*run)(fd_set *readfds); -	int (*register_fds)(struct fds *fds); +	void (*xmit)(void);  };  extern struct sync_mode sync_alarm; | 
