#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_data.h>#include <netlink/netfilter/nft_rule.h>#include <netlink/netfilter/nft_expr.h>#include <netlink/netfilter/nft-expr-modules.h>
Data Structures | |
| struct | nft_cmp_expr |
Functions | |
| int | nfnl_nft_cmp_init (struct nfnl_nft_expr *expr) |
| void | nfnl_nft_cmp_set_sreg (struct nfnl_nft_expr *expr, enum nft_registers reg) |
| int | nfnl_nft_cmp_test_sreg (const struct nfnl_nft_expr *expr) |
| enum nft_registers | nfnl_nft_cmp_get_sreg (const struct nfnl_nft_expr *expr) |
| void | nfnl_nft_cmp_set_op (struct nfnl_nft_expr *expr, enum nft_cmp_ops op) |
| int | nfnl_nft_cmp_test_op (const struct nfnl_nft_expr *expr) |
| enum nft_cmp_ops | nfnl_nft_cmp_get_op (const struct nfnl_nft_expr *expr) |
| void | nfnl_nft_cmp_set_data (struct nfnl_nft_expr *expr, struct nfnl_nft_data *data) |
| int | nfnl_nft_cmp_test_data (const struct nfnl_nft_expr *expr) |
| struct nfnl_nft_data * | nfnl_nft_cmp_get_data (const struct nfnl_nft_expr *expr) |
| char * | nfnl_nft_cmp_op2str (enum nft_cmp_ops op, char *buf, size_t len) |
| enum nft_cmp_ops | nfnl_nft_cmp_str2op (const char *name) |
| struct nfnl_nft_data* nfnl_nft_cmp_get_data | ( | const struct nfnl_nft_expr * | expr | ) |
References nft_cmp_expr::data.
| enum nft_cmp_ops nfnl_nft_cmp_get_op | ( | const struct nfnl_nft_expr * | expr | ) |
References nft_cmp_expr::op.
| enum nft_registers nfnl_nft_cmp_get_sreg | ( | const struct nfnl_nft_expr * | expr | ) |
References nft_cmp_expr::sreg.
| int nfnl_nft_cmp_init | ( | struct nfnl_nft_expr * | expr | ) |
References NULL.
| char* nfnl_nft_cmp_op2str | ( | enum nft_cmp_ops | op, |
| char * | buf, | ||
| size_t | len | ||
| ) |
| void nfnl_nft_cmp_set_data | ( | struct nfnl_nft_expr * | expr, |
| struct nfnl_nft_data * | data | ||
| ) |
References nft_cmp_expr::data, and data.
| void nfnl_nft_cmp_set_op | ( | struct nfnl_nft_expr * | expr, |
| enum nft_cmp_ops | op | ||
| ) |
References nft_cmp_expr::op.
| void nfnl_nft_cmp_set_sreg | ( | struct nfnl_nft_expr * | expr, |
| enum nft_registers | reg | ||
| ) |
References nft_cmp_expr::sreg.
| enum nft_cmp_ops nfnl_nft_cmp_str2op | ( | const char * | name | ) |
| int nfnl_nft_cmp_test_data | ( | const struct nfnl_nft_expr * | expr | ) |
| int nfnl_nft_cmp_test_op | ( | const struct nfnl_nft_expr * | expr | ) |
| int nfnl_nft_cmp_test_sreg | ( | const struct nfnl_nft_expr * | expr | ) |