diff options
Diffstat (limited to 'include/libnftables/expr.h')
-rw-r--r-- | include/libnftables/expr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libnftables/expr.h b/include/libnftables/expr.h index 38cd698..2c319ab 100644 --- a/include/libnftables/expr.h +++ b/include/libnftables/expr.h @@ -32,6 +32,8 @@ const char *nft_rule_expr_get_str(const struct nft_rule_expr *expr, uint16_t typ void nft_rule_expr_build_payload(struct nlmsghdr *nlh, struct nft_rule_expr *expr); +int nft_rule_expr_snprintf(char *buf, size_t buflen, struct nft_rule_expr *expr, uint32_t type, uint32_t flags); + enum { NFT_EXPR_PAYLOAD_DREG = NFT_RULE_EXPR_ATTR_BASE, NFT_EXPR_PAYLOAD_BASE, |