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

Data Structures

struct  nft_expr_target
 

Macros

#define XT_EXTENSION_MAXNAMELEN   29
 

Variables

struct expr_ops expr_ops_target
 

Macro Definition Documentation

#define XT_EXTENSION_MAXNAMELEN   29

Variable Documentation

struct expr_ops expr_ops_target
Initial value:
= {
.name = "target",
.alloc_len = sizeof(struct nft_expr_target),
.max_attr = NFTA_TARGET_MAX,
.free = nft_rule_expr_target_free,
.set = nft_rule_expr_target_set,
.get = nft_rule_expr_target_get,
.parse = nft_rule_expr_target_parse,
.build = nft_rule_expr_target_build,
.snprintf = nft_rule_expr_target_snprintf,
.xml_parse = nft_rule_expr_target_xml_parse,
.json_parse = nft_rule_expr_target_json_parse,
}
#define NFTA_TARGET_MAX
Definition: nf_tables_compat.h:17
Definition: target.c:33