]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables: support optional userdata for set elements
authorPatrick McHardy <kaber@trash.net>
Sun, 5 Apr 2015 12:43:38 +0000 (14:43 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 8 Apr 2015 14:58:27 +0000 (16:58 +0200)
commit0f19406729db64e56b1e7b34fb48b7abc6c2c1fa
treea068c331abf3b14574ecc9bab024a879bcb21bcb
parente907265f4d6d78b4dc4d9bd3e4cf3c73b319107f
netfilter: nf_tables: support optional userdata for set elements

Add an userdata set extension and allow the user to attach arbitrary
data to set elements. This is intended to hold TLV encoded data like
comments or DNS annotations that have no meaning to the kernel.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_tables.h
include/uapi/linux/netfilter/nf_tables.h
net/netfilter/nf_tables_api.c