path: root/src/expect
diff options
authorPablo Neira Ayuso <>2012-04-26 16:38:02 +0200
committerPablo Neira Ayuso <>2012-04-27 15:00:19 +0200
commit096567100178c1f2d49b0d3e7764e665d547c3fa (patch)
tree2f2f60a66d786043041436fbabef605f28e79695 /src/expect
parent3a39278a56d12ad13a41973cd0b50238206f11ef (diff)
conntrack: add new ATTR_GRP_[ORIG|REPL]_ADDR_[SRC|DST] attribute
This allows you to set and to get the address for both IPv4 and IPV6 using the same interface. This can simplify much redundant code that needs to support both protocols. This relies on some fixed layout union: union nfct_attr_grp_addr { u_int32_t ip; u_int32_t ip6[4]; u_int32_t addr[4]; }; But I don't see this library will support anything different from IPv4 and IPv6 as layer 3 protocol. If that happens and some point, we can add some new attribute group and deprecate this one. Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'src/expect')
0 files changed, 0 insertions, 0 deletions