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)
commit68e942e88add0ac8576fc8397e86495edf3dcea7
treea068c331abf3b14574ecc9bab024a879bcb21bcb
parent22fe54d5fefcfa98c58cc2f4607dd26d9648b3f5
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