netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
exthdr.c File Reference
#include "internal.h"
#include <stdio.h>
#include <string.h>
#include <stdint.h>
#include <limits.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 <buffer.h>
Include dependency graph for exthdr.c:

Data Structures

struct  nft_expr_exthdr
 

Macros

#define IPPROTO_MH   135
 

Variables

struct expr_ops expr_ops_exthdr
 

Macro Definition Documentation

#define IPPROTO_MH   135

Variable Documentation

struct expr_ops expr_ops_exthdr
Initial value:
= {
.name = "exthdr",
.alloc_len = sizeof(struct nft_expr_exthdr),
.max_attr = NFTA_EXTHDR_MAX,
.set = nft_rule_expr_exthdr_set,
.get = nft_rule_expr_exthdr_get,
.parse = nft_rule_expr_exthdr_parse,
.build = nft_rule_expr_exthdr_build,
.snprintf = nft_rule_expr_exthdr_snprintf,
.xml_parse = nft_rule_expr_exthdr_xml_parse,
.json_parse = nft_rule_expr_exthdr_json_parse,
}
#define NFTA_EXTHDR_MAX
Definition: nf_tables.h:550
Definition: exthdr.c:34