netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
match.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 match.c:

Data Structures

struct  nft_expr_match
 

Macros

#define XT_EXTENSION_MAXNAMELEN   29
 

Variables

struct expr_ops expr_ops_match
 

Macro Definition Documentation

#define XT_EXTENSION_MAXNAMELEN   29

Variable Documentation

struct expr_ops expr_ops_match
Initial value:
= {
.name = "match",
.alloc_len = sizeof(struct nft_expr_match),
.max_attr = NFTA_MATCH_MAX,
.free = nft_rule_expr_match_free,
.set = nft_rule_expr_match_set,
.get = nft_rule_expr_match_get,
.parse = nft_rule_expr_match_parse,
.build = nft_rule_expr_match_build,
.snprintf = nft_rule_expr_match_snprintf,
.xml_parse = nft_rule_expr_match_xml_parse,
.json_parse = nft_rule_expr_match_json_parse,
}
#define NFTA_MATCH_MAX
Definition: nf_tables_compat.h:32
Definition: match.c:33