netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
limit.c File Reference
#include <stdio.h>
#include <stdint.h>
#include <inttypes.h>
#include <string.h>
#include <arpa/inet.h>
#include <errno.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 limit.c:

Data Structures

struct  nft_expr_limit
 

Variables

struct expr_ops expr_ops_limit
 

Variable Documentation

struct expr_ops expr_ops_limit
Initial value:
= {
.name = "limit",
.alloc_len = sizeof(struct nft_expr_limit),
.max_attr = NFTA_LIMIT_MAX,
.set = nft_rule_expr_limit_set,
.get = nft_rule_expr_limit_get,
.parse = nft_rule_expr_limit_parse,
.build = nft_rule_expr_limit_build,
.snprintf = nft_rule_expr_limit_snprintf,
.xml_parse = nft_rule_expr_limit_xml_parse,
.json_parse = nft_rule_expr_limit_json_parse,
}
Definition: limit.c:27
#define NFTA_LIMIT_MAX
Definition: nf_tables.h:677