netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
masq.c File Reference
#include <stdio.h>
#include <stdint.h>
#include <arpa/inet.h>
#include <errno.h>
#include <inttypes.h>
#include <linux/netfilter/nf_tables.h>
#include "internal.h"
#include <libmnl/libmnl.h>
#include <libnftnl/expr.h>
#include <libnftnl/rule.h>
#include "expr_ops.h"
#include <buffer.h>
Include dependency graph for masq.c:

Data Structures

struct  nft_expr_masq
 

Variables

struct expr_ops expr_ops_masq
 

Variable Documentation

struct expr_ops expr_ops_masq
Initial value:
= {
.name = "masq",
.alloc_len = sizeof(struct nft_expr_masq),
.max_attr = NFTA_MASQ_MAX,
.set = nft_rule_expr_masq_set,
.get = nft_rule_expr_masq_get,
.parse = nft_rule_expr_masq_parse,
.build = nft_rule_expr_masq_build,
.snprintf = nft_rule_expr_masq_snprintf,
.xml_parse = nft_rule_expr_masq_xml_parse,
.json_parse = nft_rule_expr_masq_json_parse,
}
Definition: masq.c:25
#define NFTA_MASQ_MAX
Definition: nf_tables.h:840