From dde20393f929f22636dcedd82e5a2fe81394139e Mon Sep 17 00:00:00 2001 From: Arturo Borrero Gonzalez Date: Fri, 7 Jun 2013 00:52:17 +0000 Subject: src: add nft_*_unset functions These functions unset the given attribute in each object and release the data if needed. Signed-off-by: Arturo Borrero Gonzalez Signed-off-by: Pablo Neira Ayuso --- include/libnftables/chain.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/libnftables/chain.h') diff --git a/include/libnftables/chain.h b/include/libnftables/chain.h index b12474f..f06f743 100644 --- a/include/libnftables/chain.h +++ b/include/libnftables/chain.h @@ -26,6 +26,7 @@ enum { NFT_CHAIN_ATTR_TYPE, }; +void nft_chain_attr_unset(struct nft_chain *c, uint16_t attr); void nft_chain_attr_set(struct nft_chain *t, uint16_t attr, const void *data); void nft_chain_attr_set_u32(struct nft_chain *t, uint16_t attr, uint32_t data); void nft_chain_attr_set_s32(struct nft_chain *t, uint16_t attr, int32_t data); -- cgit v1.2.3