summaryrefslogtreecommitdiff
path: root/include/sync.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sync.h')
-rw-r--r--include/sync.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/sync.h b/include/sync.h
index d8f1bca..72f6313 100644
--- a/include/sync.h
+++ b/include/sync.h
@@ -13,10 +13,10 @@ struct sync_mode {
int (*init)(void);
void (*kill)(void);
int (*local)(int fd, int type, void *data);
- int (*pre_recv)(const struct nlnetwork *net);
- void (*post_send)(int type,
- const struct nlnetwork *net,
- struct us_conntrack *u);
+ int (*recv)(const struct nlnetwork *net); /* recv callback */
+ void (*send)(int type, /* send callback */
+ const struct nlnetwork *net,
+ struct us_conntrack *u);
};
extern struct sync_mode notrack;