From c54c8c9287fc87177daf9b51933f92c7e6402904 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sat, 17 Jan 2009 18:03:52 +0100 Subject: src: rename overrun handler to resync handler This patch is a cleanup. The overrun handler is actually a way to resynchronize against the conntrack kernel table. The name overrun was used because it was initially its purpose. The new naming shows its genericity. Signed-off-by: Pablo Neira Ayuso --- include/conntrackd.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include/conntrackd.h') diff --git a/include/conntrackd.h b/include/conntrackd.h index ab5d825..d5b61c6 100644 --- a/include/conntrackd.h +++ b/include/conntrackd.h @@ -111,8 +111,8 @@ struct ct_general_state { struct nfct_handle *dump; /* dump handler */ struct nfct_handle *request; /* request handler */ - struct nfct_handle *overrun; /* overrun handler */ - struct alarm_block overrun_alarm; + struct nfct_handle *resync; /* resync handler */ + struct alarm_block resync_alarm; struct fds *fds; @@ -204,9 +204,9 @@ struct ct_mode { int (*local)(int fd, int type, void *data); void (*kill)(void); void (*dump)(struct nf_conntrack *ct); - int (*overrun)(enum nf_conntrack_msg_type type, - struct nf_conntrack *ct, - void *data); + int (*resync)(enum nf_conntrack_msg_type type, + struct nf_conntrack *ct, + void *data); int (*purge)(void); void (*event_new)(struct nf_conntrack *ct); void (*event_upd)(struct nf_conntrack *ct); -- cgit v1.2.3