#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_limit_expr |
Functions | |
| int | nfnl_nft_limit_init (struct nfnl_nft_expr *expr) |
| void | nfnl_nft_limit_set_rate (struct nfnl_nft_expr *expr, uint64_t rate) |
| int | nfnl_nft_limit_test_rate (const struct nfnl_nft_expr *expr) |
| uint64_t | nfnl_nft_limit_get_rate (const struct nfnl_nft_expr *expr) |
| void | nfnl_nft_limit_set_depth (struct nfnl_nft_expr *expr, uint64_t depth) |
| int | nfnl_nft_limit_test_depth (const struct nfnl_nft_expr *expr) |
| uint64_t | nfnl_nft_limit_get_depth (const struct nfnl_nft_expr *expr) |
| uint64_t nfnl_nft_limit_get_depth | ( | const struct nfnl_nft_expr * | expr | ) |
References nft_limit_expr::depth.
| uint64_t nfnl_nft_limit_get_rate | ( | const struct nfnl_nft_expr * | expr | ) |
References nft_limit_expr::rate.
| int nfnl_nft_limit_init | ( | struct nfnl_nft_expr * | expr | ) |
References NULL.
| void nfnl_nft_limit_set_depth | ( | struct nfnl_nft_expr * | expr, |
| uint64_t | depth | ||
| ) |
References nft_limit_expr::depth.
| void nfnl_nft_limit_set_rate | ( | struct nfnl_nft_expr * | expr, |
| uint64_t | rate | ||
| ) |
References nft_limit_expr::rate.
| int nfnl_nft_limit_test_depth | ( | const struct nfnl_nft_expr * | expr | ) |
| int nfnl_nft_limit_test_rate | ( | const struct nfnl_nft_expr * | expr | ) |