diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-04-26 19:37:03 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-06-26 17:26:30 +0200 |
commit | 20cd0222c910e96c378e091e64b71d26e48916fe (patch) | |
tree | 377a770f8d42fb9fcab12cd9e3db7fe8212592f6 /include/internal/object.h | |
parent | c69752e3dbf757aac336f4287eca11afef62a85c (diff) |
conntrack: add nfct_set_attr_l and ATTR_HELPER_INFO
This adds the ATTR_HELPER_INFO that can be used to send binary data
that will be attached to the conntrack. This is useful for the
user-space connection tracking support.
This patch also adds a new interface:
nfct_set_attr_l(attr, type, value, length);
that is used to set the variable length helper information.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/internal/object.h')
-rw-r--r-- | include/internal/object.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/internal/object.h b/include/internal/object.h index 55fa4f5..443e800 100644 --- a/include/internal/object.h +++ b/include/internal/object.h @@ -186,6 +186,9 @@ struct nf_conntrack { u_int64_t start; u_int64_t stop; } timestamp; + + void *helper_info; + size_t helper_info_len; }; /* |