#include <linux/rcupdate.h>
#include <linux/jhash.h>
#include <linux/types.h>
#include <linux/netfilter/ipset/ip_set_timeout.h>
Data Structures | |
struct | hbucket |
struct | htable |
struct | net_prefixes |
struct | htype |
Functions | |
struct hbucket | __attribute__ ((aligned)) |
DECLARE_BITMAP (used, AHASH_MAX_TUNED) | |
Variables | |
struct rcu_head | rcu |
u8 | size |
u8 | pos |
unsigned char | value [0] |
struct htable | __attribute__ |
static int const struct sk_buff * | skb |
static int const struct sk_buff const struct xt_action_param * | par |
static int const struct sk_buff const struct xt_action_param enum ipset_adt adt struct ip_set_adt_opt * | opt |
static int struct nlattr * | tb [] |
static int struct nlattr enum ipset_adt adt u32 * | lineno |
static int struct nlattr enum ipset_adt adt u32 u32 | flags |
static int struct nlattr enum ipset_adt adt u32 u32 bool | retried |
#define __ipset_dereference_protected | ( | p, | |
c | |||
) | rcu_dereference_protected(p, c) |
#define ahash_data | ( | n, | |
i, | |||
dsize | |||
) | ((struct mtype_elem *)((n)->value + ((i) * (dsize)))) |
#define AHASH_INIT_SIZE 4 |
#define AHASH_MAX | ( | h | ) | AHASH_MAX_SIZE |
#define AHASH_MAX_SIZE (3*AHASH_INIT_SIZE) |
#define AHASH_MAX_TUNED 64 |
#define hbucket | ( | h, | |
i | |||
) | ((h)->bucket[i]) |
#define HKEY | ( | data, | |
initval, | |||
htable_bits | |||
) |
#define HKEY_DATALEN sizeof(struct mtype_elem) |
#define ipset_dereference_protected | ( | p, | |
set | |||
) | __ipset_dereference_protected(p, spin_is_locked(&(set)->lock)) |
#define IPSET_NET_COUNT 1 |
#define mtype MTYPE |
#define mtype_add IPSET_TOKEN(MTYPE, _add) |
#define mtype_add_cidr IPSET_TOKEN(MTYPE, _add_cidr) |
#define mtype_ahash_destroy IPSET_TOKEN(MTYPE, _ahash_destroy) |
#define mtype_ahash_memsize IPSET_TOKEN(MTYPE, _ahash_memsize) |
#define mtype_data_equal IPSET_TOKEN(MTYPE, _data_equal) |
#define mtype_data_list IPSET_TOKEN(MTYPE, _data_list) |
#define mtype_data_match IPSET_TOKEN(MTYPE, _data_match) |
#define mtype_data_netmask IPSET_TOKEN(MTYPE, _data_netmask) |
#define mtype_data_next IPSET_TOKEN(MTYPE, _data_next) |
#define mtype_data_reset_elem IPSET_TOKEN(MTYPE, _data_reset_elem) |
#define mtype_data_reset_flags IPSET_TOKEN(MTYPE, _data_reset_flags) |
#define mtype_data_set_flags IPSET_TOKEN(MTYPE, _data_set_flags) |
#define mtype_del IPSET_TOKEN(MTYPE, _del) |
#define mtype_del_cidr IPSET_TOKEN(MTYPE, _del_cidr) |
#define mtype_destroy IPSET_TOKEN(MTYPE, _destroy) |
#define mtype_do_data_match | ( | d | ) | 1 |
#define mtype_elem IPSET_TOKEN(MTYPE, _elem) |
#define mtype_expire IPSET_TOKEN(MTYPE, _expire) |
#define mtype_ext_cleanup IPSET_TOKEN(MTYPE, _ext_cleanup) |
#define mtype_flush IPSET_TOKEN(MTYPE, _flush) |
#define mtype_gc IPSET_TOKEN(MTYPE, _gc) |
#define mtype_gc_init IPSET_TOKEN(MTYPE, _gc_init) |
#define mtype_head IPSET_TOKEN(MTYPE, _head) |
#define mtype_kadt IPSET_TOKEN(MTYPE, _kadt) |
#define mtype_list IPSET_TOKEN(MTYPE, _list) |
#define mtype_resize IPSET_TOKEN(MTYPE, _resize) |
#define mtype_same_set IPSET_TOKEN(MTYPE, _same_set) |
#define mtype_test IPSET_TOKEN(MTYPE, _test) |
#define mtype_test_cidrs IPSET_TOKEN(MTYPE, _test_cidrs) |
#define mtype_uadt IPSET_TOKEN(MTYPE, _uadt) |
#define mtype_uref IPSET_TOKEN(MTYPE, _uref) |
#define mtype_variant IPSET_TOKEN(MTYPE, _variant) |
#define NLEN | ( | family | ) | 0 |
#define rcu_dereference_bh_nfnl | ( | p | ) | rcu_dereference_bh_check(p, 1) |
#define TUNE_AHASH_MAX | ( | h, | |
multi | |||
) |
__attribute__::DECLARE_BITMAP | ( | used | , |
AHASH_MAX_TUNED | |||
) |
void size_t u_int16_t u_int16_t flags |
Referenced by __parse_expect_message_type(), __parse_message_type(), ctnl_init(), ctnl_kill(), dlog_ct(), dlog_exp(), genl_family_add_op(), init(), ipset_data_flags_set(), ipset_data_flags_test(), ipset_print_ip(), ipset_print_ipaddr(), killer(), main(), nfacct_nlmsg_build_hdr(), nfct_helper_nlmsg_build_hdr(), nfct_parse_conntrack(), nfct_timeout_nlmsg_build_hdr(), nfexp_parse_expect(), nfnl_log_set_flags(), nfnl_log_unset_flags(), nfnl_nft_set_set_flags(), nfnl_nft_setelem_set_flags(), nft_rule_snprintf(), nft_ruleset_fprintf(), nft_set_snprintf(), nl_cache_mngr_alloc(), nl_create_conntrack(), nl_recv(), nl_update_conntrack(), nlif_get_ifflags(), nlmsg_alloc_simple(), payload_expr_alloc(), queue_create(), rtnl_addr_set_flags(), rtnl_addr_unset_flags(), rtnl_ematch_set_flags(), rtnl_link_set_flags(), rtnl_link_unset_flags(), rtnl_link_vlan_set_flags(), rtnl_link_vlan_unset_flags(), rtnl_neigh_set_flags(), rtnl_neigh_unset_flags(), rtnl_route_alloc_cache(), rtnl_route_nh_set_flags(), rtnl_route_nh_unset_flags(), rtnl_route_set_flags(), rtnl_route_unset_flags(), rtnl_u32_set_flags(), ulogd_register_fd(), and ulogd_select_main().
Referenced by ipset_cmd(), and ipset_session_lineno().
int const struct sk_buff const struct xt_action_param enum ipset_adt adt struct ip_set_adt_opt* opt |
u8 pos |
Referenced by dump_entry(), and main().
struct rcu_head rcu |
enum nf_conntrack_query qt const void void unsigned int size |
Referenced by __snprintf_addr_xml(), __snprintf_address(), __snprintf_connlabels(), __snprintf_conntrack(), __snprintf_conntrack_default(), __snprintf_conntrack_xml(), __snprintf_expect(), __snprintf_expect_default(), __snprintf_expect_xml(), __snprintf_localtime_xml(), __snprintf_proto(), __snprintf_proto_xml(), bitmask_dup(), build_template_for_bitmask(), cache_create(), cache_stats(), cache_stats_extended(), command_default(), concat_type_alloc(), do_command(), do_command4(), do_command6(), do_commandarp(), dump_traffic_stats(), ebt_register_match(), ebt_register_target(), ebt_register_watcher(), ebt_reinit_extensions(), fork_process_dump(), hashtable_create(), interval_map_decompose(), ipset_print_comment(), ipset_print_data(), ipset_print_elem(), ipset_print_ether(), ipset_print_iface(), ipset_print_ip(), ipset_print_mark(), ipset_print_name(), ipset_print_port(), ipset_print_proto_port(), ipset_print_skbmark(), ipset_print_skbprio(), mcast_snprintf_stats(), mcast_snprintf_stats2(), mpz_export(), mpz_import(), msgb_alloc(), nfct_attr_is_set_array(), nfct_query(), nfct_send(), nfexp_query(), nfexp_send(), nflog_snprintf_xml(), nfnl_nft_byteorder_set_size(), nfnl_nft_data_dump(), nfnl_rcvbufsiz(), nfnl_set_rcv_buffer_size(), nfq_snprintf_xml(), nft_chain_snprintf(), nft_gen_snprintf(), nft_parse_target(), nft_rule_expr_snprintf(), nft_rule_snprintf(), nft_set_elem_attr_get_str(), nft_set_elem_attr_get_u32(), nft_set_elem_snprintf(), nft_set_snprintf(), nft_table_snprintf(), nl_addr_build(), nl_data_alloc(), nl_data_append(), nl_object_clone(), nla_memcmp(), queue_object_new(), queue_stats_show(), rt_symbol_table_init(), rtnl_tc_build_rate_table(), symbol_table_print(), tcp_snprintf_stats(), tcp_snprintf_stats2(), udp_snprintf_stats(), udp_snprintf_stats2(), and vector_create().
int const struct sk_buff* skb |
Referenced by __parse_expect(), ip_set_get_ipaddr4(), ip_set_get_ipaddr6(), ipulog_get_packet(), mpz_rootrem(), nfnl_nft_expr_parse(), nfnlmsg_log_msg_parse(), nfnlmsg_nft_chain_parse(), nfnlmsg_nft_rule_parse(), nfnlmsg_nft_set_parse(), nfnlmsg_nft_table_parse(), nfnlmsg_queue_msg_parse(), rtnl_ematch_parse(), and rtnl_route_parse().
unsigned char value[0] |
Referenced by interval_map_decompose(), ipset_data_set(), ipset_parse_uint16(), ipset_parse_uint32(), ipset_parse_uint64(), ipset_parse_uint8(), nfct_filter_add_attr(), nfct_filter_dump_set_attr(), nfct_set_attr_l(), nfexp_set_attr(), parse_meta(), rtnl_class_dsmark_set_value(), and rtnl_route_set_metric().