#include <linux/netfilter/nf_tables.h>
#include <string.h>
#include <rule.h>
#include <statement.h>
#include <expression.h>
#include <netlink.h>
#include <gmputil.h>
#include <utils.h>
Data Structures | |
struct | netlink_linearize_ctx |
Functions | |
void | netlink_linearize_rule (struct netlink_ctx *ctx, struct nft_rule *nlr, const struct rule *rule) |
void netlink_linearize_rule | ( | struct netlink_ctx * | ctx, |
struct nft_rule * | nlr, | ||
const struct rule * | rule | ||
) |
References stmt::list, list_for_each_entry, netlink_dump_rule(), NFT_REG_1, netlink_linearize_ctx::nlr, netlink_linearize_ctx::reg_low, and rule::stmts.
Referenced by netlink_add_rule_batch().