diff options
author | Phil Sutter <phil@nwl.cc> | 2021-08-30 14:38:27 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2024-10-29 23:26:43 +0100 |
commit | 0576274ad54a3aae2750e7a49bed1e0f406b61cc (patch) | |
tree | 103b004cdb5c58529e253c873c0c47d08afc7aff /src/expr/log.c | |
parent | faab4a300784cc04f35a0cf40b7fdb858a7ece3e (diff) |
Introduce struct nftnl_str_array
This data structure holds an array of allocated strings for use in
nftnl_chain and nftnl_flowtable structs. For convenience, implement
functions to clear, populate and iterate over contents.
While at it, extend chain and flowtable tests to cover these attributes,
too.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Reviewed-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/expr/log.c')
0 files changed, 0 insertions, 0 deletions