#include <byteswap.h>
#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_expr.h>
#include <netlink/netfilter/nft-expr-modules.h>
Data Structures | |
struct | nft_log_expr |
Functions | |
int | nfnl_nft_log_init (struct nfnl_nft_expr *expr) |
void | nfnl_nft_log_set_prefix (struct nfnl_nft_expr *expr, const char *prefix) |
int | nfnl_nft_log_test_prefix (const struct nfnl_nft_expr *expr) |
const char * | nfnl_nft_log_get_prefix (const struct nfnl_nft_expr *expr) |
void | nfnl_nft_log_set_group (struct nfnl_nft_expr *expr, uint32_t group) |
int | nfnl_nft_log_test_group (const struct nfnl_nft_expr *expr) |
uint32_t | nfnl_nft_log_get_group (const struct nfnl_nft_expr *expr) |
void | nfnl_nft_log_set_snaplen (struct nfnl_nft_expr *expr, uint32_t snaplen) |
int | nfnl_nft_log_test_snaplen (const struct nfnl_nft_expr *expr) |
uint32_t | nfnl_nft_log_get_snaplen (const struct nfnl_nft_expr *expr) |
void | nfnl_nft_log_set_qthreshold (struct nfnl_nft_expr *expr, uint32_t qthreshold) |
int | nfnl_nft_log_test_qthreshold (const struct nfnl_nft_expr *expr) |
uint32_t | nfnl_nft_log_get_qthreshold (const struct nfnl_nft_expr *expr) |
uint32_t nfnl_nft_log_get_group | ( | const struct nfnl_nft_expr * | expr | ) |
References nft_log_expr::group.
const char* nfnl_nft_log_get_prefix | ( | const struct nfnl_nft_expr * | expr | ) |
References nft_log_expr::prefix.
uint32_t nfnl_nft_log_get_qthreshold | ( | const struct nfnl_nft_expr * | expr | ) |
References nft_log_expr::qthreshold.
uint32_t nfnl_nft_log_get_snaplen | ( | const struct nfnl_nft_expr * | expr | ) |
References nft_log_expr::snaplen.
int nfnl_nft_log_init | ( | struct nfnl_nft_expr * | expr | ) |
References NULL.
void nfnl_nft_log_set_group | ( | struct nfnl_nft_expr * | expr, |
uint32_t | group | ||
) |
References nft_log_expr::group.
void nfnl_nft_log_set_prefix | ( | struct nfnl_nft_expr * | expr, |
const char * | prefix | ||
) |
References nft_log_expr::prefix.
void nfnl_nft_log_set_qthreshold | ( | struct nfnl_nft_expr * | expr, |
uint32_t | qthreshold | ||
) |
References nft_log_expr::qthreshold.
void nfnl_nft_log_set_snaplen | ( | struct nfnl_nft_expr * | expr, |
uint32_t | snaplen | ||
) |
References nft_log_expr::snaplen.
int nfnl_nft_log_test_group | ( | const struct nfnl_nft_expr * | expr | ) |
int nfnl_nft_log_test_prefix | ( | const struct nfnl_nft_expr * | expr | ) |
int nfnl_nft_log_test_qthreshold | ( | const struct nfnl_nft_expr * | expr | ) |
int nfnl_nft_log_test_snaplen | ( | const struct nfnl_nft_expr * | expr | ) |