summaryrefslogtreecommitdiffstats
path: root/tests/nft-expr_meta-test.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2014-02-25 22:30:12 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2014-02-27 10:35:07 +0100
commit53c0ff324598ce2926236c32b2b4c858a0b3831a (patch)
tree1f8d2ce3804d0abf4fdc253bf3d78abc34b3fcd4 /tests/nft-expr_meta-test.c
parent7756d31990cd47673a21cacf6fd6d33227d6270e (diff)
src: add nft_*_attr_{set|get}_data interface
This patch adds two functions that allows you to validate the size of the attribute. This new functions provide a replacement for nft_rule_attr_set and nft_rule_attr_get. The data_len parameter was already passed to the {_set|_get} funcion in expressions. For consistency, add nft_rule_expr_{set|get}_data alias. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/nft-expr_meta-test.c')
0 files changed, 0 insertions, 0 deletions