#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_counter_expr |
Functions | |
| int | nfnl_nft_counter_init (struct nfnl_nft_expr *expr) |
| void | nfnl_nft_counter_set_packets (struct nfnl_nft_expr *expr, uint64_t packets) |
| int | nfnl_nft_counter_test_packets (const struct nfnl_nft_expr *expr) |
| uint64_t | nfnl_nft_counter_get_packets (const struct nfnl_nft_expr *expr) |
| void | nfnl_nft_counter_set_bytes (struct nfnl_nft_expr *expr, uint64_t bytes) |
| int | nfnl_nft_counter_test_bytes (const struct nfnl_nft_expr *expr) |
| uint64_t | nfnl_nft_counter_get_bytes (const struct nfnl_nft_expr *expr) |
| uint64_t nfnl_nft_counter_get_bytes | ( | const struct nfnl_nft_expr * | expr | ) |
References nft_counter_expr::bytes.
| uint64_t nfnl_nft_counter_get_packets | ( | const struct nfnl_nft_expr * | expr | ) |
References nft_counter_expr::packets.
| int nfnl_nft_counter_init | ( | struct nfnl_nft_expr * | expr | ) |
| void nfnl_nft_counter_set_bytes | ( | struct nfnl_nft_expr * | expr, |
| uint64_t | bytes | ||
| ) |
References bytes, and nft_counter_expr::bytes.
| void nfnl_nft_counter_set_packets | ( | struct nfnl_nft_expr * | expr, |
| uint64_t | packets | ||
| ) |
References nft_counter_expr::packets.
| int nfnl_nft_counter_test_bytes | ( | const struct nfnl_nft_expr * | expr | ) |
| int nfnl_nft_counter_test_packets | ( | const struct nfnl_nft_expr * | expr | ) |