#include <sys/types.h>#include <linux/netfilter/nf_tables.h>#include <netlink-local.h>#include <netlink/attr.h>#include <netlink/netfilter/nfnl.h>#include <netlink/netfilter/nft_table.h>#include <netlink/netfilter/nft_set.h>
Functions | |
Allocation/Freeing | |
| struct nfnl_nft_set * | nfnl_nft_set_alloc (void) |
| void | nfnl_nft_set_get (struct nfnl_nft_set *set) |
| void | nfnl_nft_set_put (struct nfnl_nft_set *set) |
Variables | |
| struct nl_object_ops | nft_set_obj_ops |
| struct nfnl_nft_set* nfnl_nft_set_alloc | ( | void | ) |
References nft_set_obj_ops, and nl_object_alloc().
Referenced by main(), and nfnlmsg_nft_set_parse().


| char* nfnl_nft_set_flags2str | ( | uint32_t | flags, |
| char * | buf, | ||
| size_t | len | ||
| ) |
| void nfnl_nft_set_get | ( | struct nfnl_nft_set * | set | ) |
| unsigned int nfnl_nft_set_get_datalen | ( | const struct nfnl_nft_set * | set | ) |
References nfnl_nft_set::set_datalen.
| enum nft_data_types nfnl_nft_set_get_datatype | ( | const struct nfnl_nft_set * | set | ) |
References nfnl_nft_set::set_datatype.
| uint8_t nfnl_nft_set_get_family | ( | const struct nfnl_nft_set * | set | ) |
References nfnl_nft_set::set_family.
| uint32_t nfnl_nft_set_get_flags | ( | const struct nfnl_nft_set * | set | ) |
References nfnl_nft_set::set_flags.
| unsigned int nfnl_nft_set_get_keylen | ( | const struct nfnl_nft_set * | set | ) |
References nfnl_nft_set::set_keylen.
| enum nft_data_types nfnl_nft_set_get_keytype | ( | const struct nfnl_nft_set * | set | ) |
References nfnl_nft_set::set_keytype.
| const char* nfnl_nft_set_get_name | ( | const struct nfnl_nft_set * | set | ) |
References nl_data_get(), and nfnl_nft_set::set_name.
Referenced by nfnl_nft_setelem_dump_request().


| const char* nfnl_nft_set_get_table | ( | const struct nfnl_nft_set * | set | ) |
References nl_data_get(), and nfnl_nft_set::set_table.
Referenced by nfnl_nft_setelem_dump_request().


| void nfnl_nft_set_put | ( | struct nfnl_nft_set * | set | ) |
References nl_object_put().
Referenced by main(), and nfnlmsg_nft_set_parse().


| void nfnl_nft_set_set_datalen | ( | struct nfnl_nft_set * | set, |
| unsigned int | len | ||
| ) |
References len, and nfnl_nft_set::set_datalen.
| void nfnl_nft_set_set_datatype | ( | struct nfnl_nft_set * | set, |
| enum nft_data_types | type | ||
| ) |
References nfnl_nft_set::set_datatype, and type.
Referenced by main(), and nfnlmsg_nft_set_parse().

| void nfnl_nft_set_set_family | ( | struct nfnl_nft_set * | set, |
| uint8_t | family | ||
| ) |
References nfnl_nft_set::set_family.
Referenced by main(), and nfnlmsg_nft_set_parse().

| void nfnl_nft_set_set_flags | ( | struct nfnl_nft_set * | set, |
| uint32_t | flags | ||
| ) |
References flags, and nfnl_nft_set::set_flags.
Referenced by main(), and nfnlmsg_nft_set_parse().

| void nfnl_nft_set_set_keylen | ( | struct nfnl_nft_set * | set, |
| unsigned int | len | ||
| ) |
References len, and nfnl_nft_set::set_keylen.
| void nfnl_nft_set_set_keytype | ( | struct nfnl_nft_set * | set, |
| enum nft_data_types | type | ||
| ) |
References nfnl_nft_set::set_keytype, and type.
Referenced by main(), and nfnlmsg_nft_set_parse().

| int nfnl_nft_set_set_name | ( | struct nfnl_nft_set * | set, |
| const char * | name, | ||
| int | len | ||
| ) |
References data, nl_data_alloc(), nl_data_free(), NLE_NOMEM, NULL, and nfnl_nft_set::set_name.
Referenced by main(), and nfnlmsg_nft_set_parse().


| int nfnl_nft_set_set_table | ( | struct nfnl_nft_set * | set, |
| const char * | table, | ||
| int | len | ||
| ) |
References data, nl_data_alloc(), nl_data_free(), NLE_NOMEM, NULL, and nfnl_nft_set::set_table.
Referenced by main(), and nfnlmsg_nft_set_parse().


| uint32_t nfnl_nft_set_str2flags | ( | const char * | name | ) |
References __str2flags(), and ARRAY_SIZE.
Referenced by main().


| int nfnl_nft_set_test_datalen | ( | const struct nfnl_nft_set * | set | ) |
| int nfnl_nft_set_test_datatype | ( | const struct nfnl_nft_set * | set | ) |
| int nfnl_nft_set_test_family | ( | const struct nfnl_nft_set * | set | ) |
| int nfnl_nft_set_test_flags | ( | const struct nfnl_nft_set * | set | ) |
| int nfnl_nft_set_test_keylen | ( | const struct nfnl_nft_set * | set | ) |
| int nfnl_nft_set_test_keytype | ( | const struct nfnl_nft_set * | set | ) |
| int nfnl_nft_set_test_name | ( | const struct nfnl_nft_set * | set | ) |
| int nfnl_nft_set_test_table | ( | const struct nfnl_nft_set * | set | ) |
| struct nl_object_ops nft_set_obj_ops |
Referenced by nfnl_nft_set_alloc().