#include <stddef.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <net/if.h>
#include <net/if_arp.h>
#include <pwd.h>
#include <grp.h>
#include <linux/pkt_sched.h>
#include <linux/if_packet.h>
#include <nftables.h>
#include <expression.h>
#include <statement.h>
#include <datatype.h>
#include <meta.h>
#include <gmputil.h>
#include <utils.h>
#include <erec.h>
Functions | |
struct expr * | meta_expr_alloc (const struct location *loc, enum nft_meta_keys key) |
struct stmt * | meta_stmt_alloc (const struct location *loc, enum nft_meta_keys key, struct expr *expr) |
Variables | |
const struct datatype | arphrd_type |
struct expr* meta_expr_alloc | ( | const struct location * | loc, |
enum nft_meta_keys | key | ||
) |
References meta_template::byteorder, meta_template::dtype, expr_alloc(), EXPR_F_PROTOCOL, expr::flags, expr::key, meta_template::len, expr::meta, NFT_META_IIFTYPE, NFT_META_L4PROTO, NFT_META_NFPROTO, PROTO_BASE_LL_HDR, and PROTO_BASE_NETWORK_HDR.
Referenced by payload_gen_dependency().
struct stmt* meta_stmt_alloc | ( | const struct location * | loc, |
enum nft_meta_keys | key, | ||
struct expr * | expr | ||
) |
References meta_stmt::expr, stmt::expr, meta_stmt::key, stmt::meta, stmt_alloc(), and meta_stmt::tmpl.
Referenced by payload_gen_dependency().