#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <limits.h>
#include <linux/netfilter/nf_tables.h>
#include <arpa/inet.h>
#include <linux/netfilter.h>
#include <net/ethernet.h>
#include <netlink.h>
#include <rule.h>
#include <statement.h>
#include <expression.h>
#include <gmputil.h>
#include <utils.h>
#include <erec.h>
#include <sys/socket.h>
Data Structures | |
struct | netlink_parse_ctx |
struct | rule_pp_ctx |
Functions | |
struct rule * | netlink_delinearize_rule (struct netlink_ctx *ctx, const struct nft_rule *nlr) |
References handle::chain, handle::comment, data, handle::family, handle::handle, len, netlink_ctx::msgs, netlink_parse_ctx::msgs, netlink_location, NFT_RULE_ATTR_CHAIN, NFT_RULE_ATTR_FAMILY, nft_rule_attr_get_data(), nft_rule_attr_get_str(), nft_rule_attr_get_u32(), nft_rule_attr_get_u64(), NFT_RULE_ATTR_HANDLE, nft_rule_attr_is_set(), NFT_RULE_ATTR_POSITION, NFT_RULE_ATTR_TABLE, NFT_RULE_ATTR_USERDATA, nft_rule_expr_foreach(), NULL, handle::position, netlink_parse_ctx::rule, rule_alloc(), handle::table, netlink_parse_ctx::table, table_lookup(), xmalloc(), and xstrdup().
const char* name |
void(* parse)(struct netlink_parse_ctx *ctx, const struct location *loc, const struct nft_rule_expr *nle) |