diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-06-17 00:39:38 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-06-17 21:07:43 +0200 |
commit | e0f0f01c249ce659947fb8ca592da3c7062b7fa6 (patch) | |
tree | db6023ef87941dc8e6f5d24ec4585d993c4e6e47 /include/libnftables/expr.h | |
parent | 283ea9e229fa362836992c61e4dcef4aef1a8564 (diff) |
src: add nft_*_attr_is_set
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/libnftables/expr.h')
-rw-r--r-- | include/libnftables/expr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libnftables/expr.h b/include/libnftables/expr.h index bd3fd6e..1ab5590 100644 --- a/include/libnftables/expr.h +++ b/include/libnftables/expr.h @@ -15,6 +15,7 @@ enum { struct nft_rule_expr *nft_rule_expr_alloc(const char *name); void nft_rule_expr_free(struct nft_rule_expr *expr); +bool nft_rule_expr_is_set(const struct nft_rule_expr *expr, uint16_t type); void nft_rule_expr_set(struct nft_rule_expr *expr, uint16_t type, const void *data, size_t data_len); void nft_rule_expr_set_u8(struct nft_rule_expr *expr, uint16_t type, uint8_t data); void nft_rule_expr_set_u32(struct nft_rule_expr *expr, uint16_t type, uint32_t data); |