summaryrefslogtreecommitdiffstats
path: root/src/evaluate.c
Commit message (Expand)AuthorAgeFilesLines
* evaluate: fix double free on dtype releaseFlorian Westphal2023-12-051-1/+1
* evaluate: catch implicit map expressions without known datatypeFlorian Westphal2023-12-051-0/+4
* evaluate: reject attempt to update a setFlorian Westphal2023-12-051-0/+4
* evaluate: disable meta set with rangesFlorian Westphal2023-12-051-0/+13
* evaluate: error out if basetypes are differentFlorian Westphal2023-12-051-2/+5
* evaluate: guard against NULL basetypeFlorian Westphal2023-12-051-1/+1
* evaluate: handle invalid mapping expressions gracefullyFlorian Westphal2023-12-051-2/+2
* evaluate: turn assert into real error checkFlorian Westphal2023-12-051-6/+19
* evaluate: prevent assert when evaluating very large shift valuesFlorian Westphal2023-12-031-2/+7
* evaluate: reject sets with no keyFlorian Westphal2023-12-011-0/+3
* evaluate: clone unary expression datatype to deal with dynamic datatypePablo Neira Ayuso2023-11-221-1/+1
* evaluate: bogus error when adding devices to flowtablePablo Neira Ayuso2023-11-221-1/+1
* evaluate: fix rule replacement with anon setsFlorian Westphal2023-11-201-0/+1
* src: remove xfree() and use plain free()Thomas Haller2023-11-091-2/+2
* src: add free_const() and use it instead of xfree()Thomas Haller2023-11-091-4/+4
* gmputil: add nft_gmp_free() to free strings from mpz_get_str()Thomas Haller2023-11-091-3/+3
* evaluate: place byteorder conversion before rshift in payload expressionsPablo Neira Ayuso2023-11-061-1/+9
* evaluate: reset statement length context only for set mappingsPablo Neira Ayuso2023-11-061-1/+1
* evaluate: reject set in concatenationPablo Neira Ayuso2023-10-261-0/+6
* evaluate: validate maximum log statement prefix lengthPablo Neira Ayuso2023-10-171-1/+6
* evaluate: suggest != in negation error messageFlorian Westphal2023-10-131-1/+1
* include: include <string.h> in <nft.h>Thomas Haller2023-09-281-1/+0
* datatype: use "enum byteorder" instead of int in set_datatype_alloc()Thomas Haller2023-09-201-1/+1
* evaluate: perform mark datatype compatibility check from mapsPablo Neira Ayuso2023-09-191-7/+10
* evaluate: expand sets and maps before evaluationPablo Neira Ayuso2023-09-191-17/+25
* evaluate: fix memleak in prefix evaluation with wildcard interface namePablo Neira Ayuso2023-09-191-1/+0
* datatype: fix leak and cleanup reference counting for struct datatypeThomas Haller2023-09-141-26/+40
* include: include <stdlib.h> in <nft.h>Thomas Haller2023-09-111-1/+0
* datatype: rename "dtype_clone()" to datatype_clone()Thomas Haller2023-09-081-2/+2
* evaluate: fix get element for concatenated setFlorian Westphal2023-09-061-4/+7
* evaluate: revisit anonymous set with single element optimizationPablo Neira Ayuso2023-09-021-20/+40
* evaluate: place byteorder conversion after numgen for IP address datatypesJorge Ortiz2023-09-011-0/+4
* src: simplify chain_alloc()Pablo Neira Ayuso2023-08-311-1/+1
* evaluate: do not remove anonymous set with protocol flags and single elementPablo Neira Ayuso2023-08-301-1/+6
* evaluate: don't needlessly clear full string buffer in stmt_evaluate_log_pref...Thomas Haller2023-08-291-1/+4
* src: rework SNPRINTF_BUFFER_SIZE() and handle truncationThomas Haller2023-08-291-3/+5
* evaluate: fix check for truncation in stmt_evaluate_log_prefix()Thomas Haller2023-08-291-1/+1
* evaluate: Drop dead code from expr_evaluate_mapping()Phil Sutter2023-08-291-11/+8
* include: include <std{bool,int}.h> via <nft.h>Thomas Haller2023-08-251-1/+0
* src: add <nft.h> header and include it as firstThomas Haller2023-08-251-0/+2
* src: add input flag NFT_CTX_INPUT_NO_DNS to avoid blockingThomas Haller2023-08-241-2/+8
* evaluate: error out on meter overlap with an existing set/map declarationPablo Neira Ayuso2023-08-231-0/+18
* ct expectation: fix 'list object x' vs. 'list objects in table' confusionFlorian Westphal2023-07-311-0/+1
* Implement 'reset {set,map,element}' commandsPhil Sutter2023-07-131-0/+5
* evaluate: Cache looked up set for list commandsPhil Sutter2023-07-131-0/+1
* evaluate: Merge some cases in cmd_evaluate_list()Phil Sutter2023-07-131-32/+4
* evaluate: place byteorder conversion before rshift in payload statementPablo Neira Ayuso2023-07-081-1/+11
* ct timeout: fix 'list object x' vs. 'list objects in table' confusionFlorian Westphal2023-06-201-0/+1
* evaluate: do not abort when prefix map has non-map elementFlorian Westphal2023-06-201-4/+13
* exthdr: add boolean DCCP option matchingJeremy Sowden2023-06-011-0/+1