]> git.ipfire.org Git - thirdparty/nftables.git/commit
src: remove global symbol_table
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 7 Aug 2019 22:30:28 +0000 (00:30 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 8 Aug 2019 10:03:57 +0000 (12:03 +0200)
commit45cb29a2ada4edfc2b547fe023d923ce0299a61d
treef47fb5792e1d6cfaad2ef7efe83fc37c2833b927
parenta805eab34e34aaf2f08c607e770ec0b8df992f4a
src: remove global symbol_table

Store symbol tables in context object instead. Use the nft_ctx object to
store the dynamic symbol table. Pass it on to the parse_ctx object so
this can be accessed from the parse routines. This dynamic symbol table
is also accesible from the output_ctx object for print routines.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/ct.h
include/datatype.h
include/meta.h
include/nftables.h
src/ct.c
src/datatype.c
src/json.c
src/libnftables.c
src/meta.c
src/rt.c