Searched refs:hash_seed (Results 1 – 10 of 10) sorted by relevance
| /linux/kernel/bpf/ |
| H A D | bloom_filter.c | 18 u32 hash_seed; member 29 h = jhash2(value, value_size / 4, bloom->hash_seed + index); in hash() 31 h = jhash(value, value_size, bloom->hash_seed + index); in hash() 157 bloom->hash_seed = get_random_u32(); in bloom_map_alloc()
|
| /linux/net/netfilter/ |
| H A D | xt_cluster.c | 29 return jhash_1word(ip, info->hash_seed); in xt_cluster_hash_ipv4() 35 return jhash2(ip, NF_CT_TUPLE_L3SIZE / sizeof(__u32), info->hash_seed); in xt_cluster_hash_ipv6()
|
| /linux/include/uapi/linux/netfilter/ |
| H A D | xt_cluster.h | 14 __u32 hash_seed; member
|
| /linux/net/openvswitch/ |
| H A D | flow_table.h | 59 u32 hash_seed; member
|
| H A D | flow_table.c | 170 get_random_bytes(&ti->hash_seed, sizeof(u32)); in table_instance_alloc() 552 hash = jhash_1word(hash, ti->hash_seed); in find_bucket()
|
| /linux/include/net/ |
| H A D | amt.h | 338 u32 hash_seed; member
|
| /linux/drivers/net/ |
| H A D | amt.c | 125 u32 hash = jhash(src, sizeof(*src), tunnel->amt->hash_seed); in amt_source_hash() 202 u32 hash = jhash(group, sizeof(*group), tunnel->amt->hash_seed); in amt_group_hash() 3193 get_random_bytes(&amt->hash_seed, sizeof(amt->hash_seed)); in amt_newlink()
|
| /linux/drivers/net/ethernet/broadcom/bnge/ |
| H A D | bnge_netdev.c | 1765 idx = jhash2(&key->filter_key, BNGE_L2_KEY_SIZE, bn->hash_seed) & in bnge_alloc_l2_filter() 2593 get_random_bytes(&bn->hash_seed, sizeof(bn->hash_seed)); in bnge_init_l2_fltr_tbl()
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt.h | 2689 u32 hash_seed; member
|
| H A D | bnxt.c | 5452 get_random_bytes(&bp->hash_seed, sizeof(bp->hash_seed)); in bnxt_init_l2_fltr_tbl() 6046 idx = jhash2(&key->filter_key, BNXT_L2_KEY_SIZE, bp->hash_seed) & in bnxt_lookup_l2_filter_from_key() 6087 idx = jhash2(&key->filter_key, BNXT_L2_KEY_SIZE, bp->hash_seed) & in bnxt_alloc_l2_filter() 6114 idx = jhash2(&key->filter_key, BNXT_L2_KEY_SIZE, bp->hash_seed) & in bnxt_alloc_new_l2_filter()
|