#include <sys/types.h>
#include <linux/netfilter/nf_tables.h>
#include <netlink-local.h>
#include <netlink/attr.h>
#include <netlink/netfilter/nfnl.h>
#include <netlink/netfilter/nft_rule.h>
#include <netlink/netfilter/nft_expr.h>
#include <netlink/netfilter/nft-expr-modules.h>
Data Structures | |
struct | nft_payload_expr |
Functions | |
int | nfnl_nft_payload_init (struct nfnl_nft_expr *expr) |
void | nfnl_nft_payload_set_dreg (struct nfnl_nft_expr *expr, enum nft_registers reg) |
int | nfnl_nft_payload_test_dreg (const struct nfnl_nft_expr *expr) |
enum nft_registers | nfnl_nft_payload_get_dreg (const struct nfnl_nft_expr *expr) |
void | nfnl_nft_payload_set_base (struct nfnl_nft_expr *expr, enum nft_payload_bases base) |
int | nfnl_nft_payload_test_base (const struct nfnl_nft_expr *expr) |
enum nft_payload_bases | nfnl_nft_payload_get_base (const struct nfnl_nft_expr *expr) |
void | nfnl_nft_payload_set_offset (struct nfnl_nft_expr *expr, unsigned int offset) |
int | nfnl_nft_payload_test_offset (const struct nfnl_nft_expr *expr) |
unsigned int | nfnl_nft_payload_get_offset (const struct nfnl_nft_expr *expr) |
void | nfnl_nft_payload_set_len (struct nfnl_nft_expr *expr, unsigned int len) |
int | nfnl_nft_payload_test_len (const struct nfnl_nft_expr *expr) |
unsigned int | nfnl_nft_payload_get_len (const struct nfnl_nft_expr *expr) |
enum nft_payload_bases nfnl_nft_payload_get_base | ( | const struct nfnl_nft_expr * | expr | ) |
References nft_payload_expr::base.
enum nft_registers nfnl_nft_payload_get_dreg | ( | const struct nfnl_nft_expr * | expr | ) |
References nft_payload_expr::dreg.
unsigned int nfnl_nft_payload_get_len | ( | const struct nfnl_nft_expr * | expr | ) |
References nft_payload_expr::len.
unsigned int nfnl_nft_payload_get_offset | ( | const struct nfnl_nft_expr * | expr | ) |
References nft_payload_expr::offset.
int nfnl_nft_payload_init | ( | struct nfnl_nft_expr * | expr | ) |
References NULL.
void nfnl_nft_payload_set_base | ( | struct nfnl_nft_expr * | expr, |
enum nft_payload_bases | base | ||
) |
References nft_payload_expr::base.
void nfnl_nft_payload_set_dreg | ( | struct nfnl_nft_expr * | expr, |
enum nft_registers | reg | ||
) |
References nft_payload_expr::dreg.
void nfnl_nft_payload_set_len | ( | struct nfnl_nft_expr * | expr, |
unsigned int | len | ||
) |
References nft_payload_expr::len, and len.
void nfnl_nft_payload_set_offset | ( | struct nfnl_nft_expr * | expr, |
unsigned int | offset | ||
) |
References nft_payload_expr::offset.
int nfnl_nft_payload_test_base | ( | const struct nfnl_nft_expr * | expr | ) |
int nfnl_nft_payload_test_dreg | ( | const struct nfnl_nft_expr * | expr | ) |
int nfnl_nft_payload_test_len | ( | const struct nfnl_nft_expr * | expr | ) |
int nfnl_nft_payload_test_offset | ( | const struct nfnl_nft_expr * | expr | ) |