]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables: add stateful object reference to set elements
authorPablo Neira Ayuso <pablo@netfilter.org>
Sun, 27 Nov 2016 23:06:00 +0000 (00:06 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 7 Dec 2016 12:22:47 +0000 (13:22 +0100)
commitb8103279a36aa099fbdf2ed76989f1a4f4335481
treeedb2a7125951aba913d0a97c6093c4abc8e06570
parent57927515d8c54cd259a1b8bf040bd798f67dc9b7
netfilter: nf_tables: add stateful object reference to set elements

This patch allows you to refer to stateful objects from set elements.
This provides the infrastructure to create maps where the right hand
side of the mapping is a stateful object.

This allows us to build dictionaries of stateful objects, that you can
use to perform fast lookups using any arbitrary key combination.

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