#include <math.h>#include <stdbool.h>#include <stdint.h>#include <stdio.h>#include <string.h>#include <stdlib.h>#include <xtables.h>#include <linux/netfilter/x_tables.h>#include <linux/netfilter/xt_hashlimit.h>
Data Structures | |
| struct | hashlimit_mt_udata |
| struct | rates |
Macros | |
| #define | _BSD_SOURCE 1 |
| #define | _ISOC99_SOURCE 1 |
| #define | XT_HASHLIMIT_BURST 5 |
| #define | XT_HASHLIMIT_BURST_MAX 10000 |
| #define | XT_HASHLIMIT_BYTE_EXPIRE 15 |
| #define | XT_HASHLIMIT_BYTE_EXPIRE_BURST 60 |
| #define | XT_HASHLIMIT_GCINTERVAL 1000 |
| #define | s struct xt_hashlimit_info |
| #define | s struct xt_hashlimit_mtinfo1 |
Enumerations | |
| enum | { O_UPTO = 0, O_ABOVE, O_LIMIT, O_MODE, O_SRCMASK, O_DSTMASK, O_NAME, O_BURST, O_HTABLE_SIZE, O_HTABLE_MAX, O_HTABLE_GCINT, O_HTABLE_EXPIRE, F_BURST = 1 << O_BURST, F_UPTO = 1 << O_UPTO, F_ABOVE = 1 << O_ABOVE, F_HTABLE_EXPIRE = 1 << O_HTABLE_EXPIRE } |
Functions | |
| void | _init (void) |
| #define _BSD_SOURCE 1 |
| #define _ISOC99_SOURCE 1 |
| #define s struct xt_hashlimit_info |
| #define s struct xt_hashlimit_mtinfo1 |
| #define XT_HASHLIMIT_BURST 5 |
| #define XT_HASHLIMIT_BURST_MAX 10000 |
| #define XT_HASHLIMIT_BYTE_EXPIRE 15 |
| #define XT_HASHLIMIT_BYTE_EXPIRE_BURST 60 |
| #define XT_HASHLIMIT_GCINTERVAL 1000 |
| anonymous enum |
| void _init | ( | void | ) |
| const char* name |
Referenced by __snprintf_connlabels(), addr_to_anyname(), concat_type_alloc(), exp_filter_find(), ipset_port_usage(), ipset_print_icmp(), ipset_print_icmpv6(), ipset_print_iface(), ipset_print_name(), main(), name_to_icmp(), name_to_icmpv6(), nft_rule_to_iptables_command_state(), queue_stats_show(), rtnl_netem_set_delay_distribution(), xtables_ip6addr_to_anyname(), xtables_ip6parse_multiple(), xtables_ipaddr_to_anyname(), and xtables_ipparse_multiple().
| uint32_t thresh |
Referenced by rtnl_neightbl_set_gc_tresh1(), rtnl_neightbl_set_gc_tresh2(), and rtnl_neightbl_set_gc_tresh3().