]> 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)
commitb4b1ddde9d15bfee26d2345863f8e301327fd6f8
treea068c331abf3b14574ecc9bab024a879bcb21bcb
parent442306e18704fb29b18788d3ded715890e0465f9
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