]> git.ipfire.org Git - thirdparty/nftables.git/commit
rule: Use libnftnl user data TLV infrastructure
authorCarlos Falgueras García <carlosfg@riseup.net>
Tue, 22 Mar 2016 19:46:27 +0000 (20:46 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 14 Apr 2016 00:20:01 +0000 (02:20 +0200)
commit795d88cb710512d9b85afbb17beaeec3d92dcd54
tree1f705d76b500e596f827826008ebce0ad2db4c06
parent0128160cbfecd72a17fa920c343c37b9187d1c72
rule: Use libnftnl user data TLV infrastructure

Now it is possible to store multiple variable length user data into rule.
Modify the parser in order to fill the nftnl_udata with the comment, and
the print function for extract these commentary and print it to user.

Signed-off-by: Carlos Falgueras García <carlosfg@riseup.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/rule.h
src/netlink_delinearize.c
src/netlink_linearize.c