diff options
author | Florian Westphal <fw@strlen.de> | 2013-06-30 23:10:47 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2013-07-23 23:22:08 +0200 |
commit | c9cba32f4820a9febee116bbc268ec8b1ae9a04c (patch) | |
tree | 35429a12ed5415ec122239ad286fd673cc4524b3 /include/tcp.h | |
parent | 1239b83da27545e3275127ac339cdca29c872304 (diff) | |
download | conntrack-tools-c9cba32f4820a9febee116bbc268ec8b1ae9a04c.tar.gz conntrack-tools-c9cba32f4820a9febee116bbc268ec8b1ae9a04c.zip |
conntrackd: support replication of connlabels
- check if ct has label attribute, and at least one label
(bit) is set
- serialize bitmap into array-of-u32, in network byte order
- add code to build new nfct_bitmask object from array-of-u32
Current parse functions don't have length information,
this adds optional parse2() which gets struct netattr pointer.
Attributes that want to use parse2 need to set .maxsize to nonzero
value.
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'include/tcp.h')
0 files changed, 0 insertions, 0 deletions