Home
last modified time | relevance | path

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

/linux-4.4.14/net/netfilter/
Dnf_conntrack_core.c150 return __hash_bucket(hash, net->ct.htable_size); in hash_bucket()
162 return __hash_conntrack(tuple, net->ct.htable_size); in hash_conntrack()
758 for (; i < net->ct.htable_size; i++) { in early_drop()
777 hash = (hash + 1) % net->ct.htable_size; in early_drop()
1382 for (; *bucket < net->ct.htable_size; (*bucket)++) { in get_next_corpse()
1386 if (*bucket < net->ct.htable_size) { in get_next_corpse()
1525 nf_ct_free_hashtable(net->ct.hash, net->ct.htable_size); in nf_conntrack_cleanup_net_list()
1596 for (i = 0; i < init_net.ct.htable_size; i++) { in nf_conntrack_set_hashsize()
1606 old_size = init_net.ct.htable_size; in nf_conntrack_set_hashsize()
1609 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()
454 .data = &init_net.ct.htable_size,
508 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()
Dnfnetlink_cttimeout.c311 for (i = 0; i < init_net.ct.htable_size; i++) { in ctnl_untimeout()
313 if (i < init_net.ct.htable_size) { in ctnl_untimeout()
Dnf_nat_core.c825 net->ct.nat_htable_size = net->ct.htable_size; in nf_nat_net_init()
Dnf_conntrack_netlink.c840 for (; cb->args[0] < net->ct.htable_size; cb->args[0]++) { in ctnetlink_dump_table()
844 if (cb->args[0] >= net->ct.htable_size) { in ctnetlink_dump_table()
/linux-4.4.14/include/net/netns/
Dconntrack.h96 unsigned int htable_size; member
/linux-4.4.14/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.c363 in->ctl_table[2].data = &net->ct.htable_size; in ipv4_init_net()
/linux-4.4.14/net/netfilter/ipset/
Dip_set_hash_gen.h101 htable_size(u8 hbits) in htable_size() function
597 t = ip_set_alloc(htable_size(htable_bits)); in mtype_resize()
1313 hsize = htable_size(hbits); in IPSET_TOKEN()