summaryrefslogtreecommitdiffstats
path: root/include/external.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/external.h')
-rw-r--r--include/external.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/include/external.h b/include/external.h
index 6619967..eef0e42 100644
--- a/include/external.h
+++ b/include/external.h
@@ -7,15 +7,17 @@ struct external_handler {
int (*init)(void);
void (*close)(void);
- void (*new)(struct nf_conntrack *ct);
- void (*update)(struct nf_conntrack *ct);
- void (*destroy)(struct nf_conntrack *ct);
+ struct {
+ void (*new)(struct nf_conntrack *ct);
+ void (*upd)(struct nf_conntrack *ct);
+ void (*del)(struct nf_conntrack *ct);
- void (*dump)(int fd, int type);
- void (*flush)(void);
- int (*commit)(struct nfct_handle *h, int fd);
- void (*stats)(int fd);
- void (*stats_ext)(int fd);
+ void (*dump)(int fd, int type);
+ void (*flush)(void);
+ int (*commit)(struct nfct_handle *h, int fd);
+ void (*stats)(int fd);
+ void (*stats_ext)(int fd);
+ } ct;
};
extern struct external_handler external_cache;