netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
cmp.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 <libnftnl/expr.h>
#include <libnftnl/rule.h>
#include "expr_ops.h"
#include "data_reg.h"
#include <buffer.h>
Include dependency graph for cmp.c:

Data Structures

struct  nft_expr_cmp
 

Variables

struct expr_ops expr_ops_cmp
 

Variable Documentation

struct expr_ops expr_ops_cmp
Initial value:
= {
.name = "cmp",
.alloc_len = sizeof(struct nft_expr_cmp),
.max_attr = NFTA_CMP_MAX,
.set = nft_rule_expr_cmp_set,
.get = nft_rule_expr_cmp_get,
.parse = nft_rule_expr_cmp_parse,
.build = nft_rule_expr_cmp_build,
.snprintf = nft_rule_expr_cmp_snprintf,
.xml_parse = nft_rule_expr_cmp_xml_parse,
.json_parse = nft_rule_expr_cmp_json_parse,
}
Definition: cmp.c:28
#define NFTA_CMP_MAX
Definition: nf_tables.h:483