Home
last modified time | relevance | path

Searched refs:htable_size (Results 1 – 9 of 9) sorted by relevance

/linux-4.1.27/net/netfilter/
Dnf_conntrack_core.c150 return __hash_bucket(hash, net->ct.htable_size); in hash_bucket()
162 return __hash_conntrack(tuple, zone, net->ct.htable_size); in hash_conntrack()
734 for (; i < net->ct.htable_size; i++) { in early_drop()
753 hash = (hash + 1) % net->ct.htable_size; in early_drop()
1357 for (; *bucket < net->ct.htable_size; (*bucket)++) { in get_next_corpse()
1361 if (*bucket < net->ct.htable_size) { in get_next_corpse()
1500 nf_ct_free_hashtable(net->ct.hash, net->ct.htable_size); in nf_conntrack_cleanup_net_list()
1573 for (i = 0; i < init_net.ct.htable_size; i++) { in nf_conntrack_set_hashsize()
1584 old_size = init_net.ct.htable_size; in nf_conntrack_set_hashsize()
1587 init_net.ct.htable_size = nf_conntrack_htable_size = hashsize; in nf_conntrack_set_hashsize()
[all …]
Dnf_conntrack_standalone.c62 st->bucket < net->ct.htable_size; in ct_get_first()
80 if (++st->bucket >= net->ct.htable_size) in ct_get_next()
425 .data = &init_net.ct.htable_size,
479 table[2].data = &net->ct.htable_size; in nf_conntrack_standalone_init_sysctl()
Dnf_conntrack_helper.c427 for (i = 0; i < net->ct.htable_size; i++) { in __nf_conntrack_helper_unregister()
429 if (i < net->ct.htable_size) { in __nf_conntrack_helper_unregister()
Dnf_nat_core.c821 net->ct.nat_htable_size = net->ct.htable_size; in nf_nat_net_init()
Dnf_conntrack_netlink.c808 for (; cb->args[0] < net->ct.htable_size; cb->args[0]++) { in ctnetlink_dump_table()
812 if (cb->args[0] >= net->ct.htable_size) { in ctnetlink_dump_table()
/linux-4.1.27/include/net/netns/
Dconntrack.h97 unsigned int htable_size; member
/linux-4.1.27/net/ipv4/netfilter/
Dnf_conntrack_l3proto_ipv4_compat.c39 st->bucket < net->ct.htable_size; in ct_get_first()
58 if (++st->bucket >= net->ct.htable_size) in ct_get_next()
Dnf_conntrack_l3proto_ipv4.c369 in->ctl_table[2].data = &net->ct.htable_size; in ipv4_init_net()
/linux-4.1.27/net/netfilter/ipset/
Dip_set_hash_gen.h92 htable_size(u8 hbits) in htable_size() function
1121 hsize = htable_size(hbits); in IPSET_TOKEN()