#include <stdio.h>#include <stdint.h>#include <stdarg.h>#include <inttypes.h>#include <string.h>#include <buffer.h>#include <libnftnl/common.h>#include "internal.h"
Functions | |
| int | nft_buf_update (struct nft_buf *b, int ret) |
| int | nft_buf_done (struct nft_buf *b) |
| int | nft_buf_open (struct nft_buf *b, int type, const char *tag) |
| int | nft_buf_close (struct nft_buf *b, int type, const char *tag) |
| int | nft_buf_u32 (struct nft_buf *b, int type, uint32_t value, const char *tag) |
| int | nft_buf_s32 (struct nft_buf *b, int type, uint32_t value, const char *tag) |
| int | nft_buf_u64 (struct nft_buf *b, int type, uint64_t value, const char *tag) |
| int | nft_buf_str (struct nft_buf *b, int type, const char *str, const char *tag) |
| int | nft_buf_reg (struct nft_buf *b, int type, union nft_data_reg *reg, int reg_type, const char *tag) |
References nft_buf::buf, nft_buf::len, NFT_OUTPUT_JSON, NFT_OUTPUT_XML, nft_buf::off, and nft_buf::size.
References nft_buf::buf, nft_buf::fail, nft_buf::len, nft_buf::off, and nft_buf::size.
References NFT_OUTPUT_JSON, and NFT_OUTPUT_XML.
| int nft_buf_reg | ( | struct nft_buf * | b, |
| int | type, | ||
| union nft_data_reg * | reg, | ||
| int | reg_type, | ||
| const char * | tag | ||
| ) |
References nft_buf::buf, nft_buf::len, nft_buf_update(), nft_data_reg_snprintf(), NFT_OUTPUT_JSON, NFT_OUTPUT_XML, and nft_buf::off.

References NFT_OUTPUT_JSON, and NFT_OUTPUT_XML.
References NFT_OUTPUT_JSON, and NFT_OUTPUT_XML.
References NFT_OUTPUT_JSON, and NFT_OUTPUT_XML.
References NFT_OUTPUT_JSON, and NFT_OUTPUT_XML.
References nft_buf::fail, nft_buf::len, nft_buf::off, and nft_buf::size.
Referenced by nft_buf_reg().
