summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2009-01-17 18:03:52 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2009-01-17 18:03:52 +0100
commitc54c8c9287fc87177daf9b51933f92c7e6402904 (patch)
tree6b7b3414803af1d2217d03b327b740d7982dbec8 /include
parent7ae054f8aae252ee9c57e26327675e466fc1d15d (diff)
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 <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/conntrackd.h10
-rw-r--r--include/netlink.h4
2 files changed, 7 insertions, 7 deletions
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);
diff --git a/include/netlink.h b/include/netlink.h
index 4bc5ee4..a8eb919 100644
--- a/include/netlink.h
+++ b/include/netlink.h
@@ -9,10 +9,10 @@ struct nfct_handle;
struct nfct_handle *nl_init_event_handler(void);
struct nfct_handle *nl_init_dump_handler(void);
struct nfct_handle *nl_init_request_handler(void);
-struct nfct_handle *nl_init_overrun_handler(void);
+struct nfct_handle *nl_init_resync_handler(void);
struct nlif_handle *nl_init_interface_handler(void);
-int nl_overrun_request_resync(struct nfct_handle *h);
+int nl_send_resync(struct nfct_handle *h);
void nl_resize_socket_buffer(struct nfct_handle *h);
int nl_dump_conntrack_table(struct nfct_handle *h);
int nl_flush_conntrack_table(struct nfct_handle *h);