Data Structures | |
struct | location |
struct | input_descriptor |
Macros | |
#define | INCLUDE_PATHS_MAX 16 |
Enumerations | |
enum | numeric_level { NUMERIC_NONE, NUMERIC_ADDR, NUMERIC_PORT, NUMERIC_ALL } |
enum | debug_level { DEBUG_SCANNER = 0x1, DEBUG_PARSER = 0x2, DEBUG_EVALUATION = 0x4, DEBUG_NETLINK = 0x8, DEBUG_MNL = 0x10, DEBUG_PROTO_CTX = 0x20, DEBUG_SEGTREE = 0x40 } |
enum | nftables_exit_codes { NFT_EXIT_SUCCESS = 0, NFT_EXIT_FAILURE = 1, NFT_EXIT_NOMEM = 2, NFT_EXIT_NONL = 3 } |
enum | input_descriptor_types { INDESC_INVALID, INDESC_INTERNAL, INDESC_BUFFER, INDESC_FILE, INDESC_CLI, INDESC_NETLINK } |
enum input_descriptor_types More... | |
Functions | |
: name describing the input | |
struct input_descriptor : location, used for include statements : input descriptor type | |
int | nft_run (void *scanner, struct parser_state *state, struct list_head *msgs) |
Variables | |
unsigned int | max_errors |
unsigned int | numeric_output |
unsigned int | ip2name_output |
unsigned int | handle_output |
unsigned int | debug_level |
const char * | include_paths [INCLUDE_PATHS_MAX] |
const struct location | internal_location |
#define INCLUDE_PATHS_MAX 16 |
Referenced by main().
enum debug_level |
enum nftables_exit_codes |
enum numeric_level |
int nft_run | ( | void * | scanner, |
struct parser_state * | state, | ||
struct list_head * | msgs | ||
) |
References cmd_free(), parser_state::cmds, cmd::list, list_for_each_entry_safe, parser_state::nerrs, netlink_restart(), and nft_parse().
Referenced by main().
unsigned int debug_level |
unsigned int handle_output |
Referenced by main(), and rule_print().
const char* include_paths[INCLUDE_PATHS_MAX] |
Referenced by main().
Referenced by main(), and payload_expr_join().
unsigned int max_errors |