diff options
Diffstat (limited to 'include/internal')
-rw-r--r-- | include/internal/object.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/internal/object.h b/include/internal/object.h index cd06b88..04d64b6 100644 --- a/include/internal/object.h +++ b/include/internal/object.h @@ -34,6 +34,12 @@ struct nfct_handle { int (*expect_cb)(enum nf_conntrack_msg_type type, struct nf_expect *exp, void *data); + + /* second version of the expect callback: it includes netlink header */ + int (*expect_cb2)(const struct nlmsghdr *nlh, + enum nf_conntrack_msg_type type, + struct nf_expect *exp, + void *data); }; /* container used to pass data to nfnl callbacks */ |