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

Data Structures

struct  nft_expr_nat
 

Variables

struct expr_ops expr_ops_nat
 

Variable Documentation

struct expr_ops expr_ops_nat
Initial value:
= {
.name = "nat",
.alloc_len = sizeof(struct nft_expr_nat),
.max_attr = NFTA_NAT_MAX,
.set = nft_rule_expr_nat_set,
.get = nft_rule_expr_nat_get,
.parse = nft_rule_expr_nat_parse,
.build = nft_rule_expr_nat_build,
.snprintf = nft_rule_expr_nat_snprintf,
.xml_parse = nft_rule_expr_nat_xml_parse,
.json_parse = nft_rule_expr_nat_json_parse,
}
#define NFTA_NAT_MAX
Definition: nf_tables.h:791
Definition: nat.c:29