Home
last modified time | relevance | path

Searched refs:hashrnd (Results 1 – 8 of 8) sorted by relevance

/linux/net/sched/
H A Dcls_flow.c57 u32 hashrnd; member
330 classid = jhash2(keys, f->nkeys, f->hashrnd); in flow_classify()
355 get_random_bytes(&f->hashrnd, 4); in flow_perturbation()
476 fnew->hashrnd = fold->hashrnd; in flow_change()
529 get_random_bytes(&fnew->hashrnd, 4); in flow_change()
/linux/include/uapi/linux/netfilter/
H A Dxt_HMARK.h47 __u32 hashrnd; member
/linux/net/ipv6/ila/
H A Dila_xlat.c34 static u32 hashrnd __read_mostly;
37 net_get_random_once(&hashrnd, sizeof(hashrnd)); in __ila_hash_secret_init()
45 return jhash_2words(v[0], v[1], hashrnd); in ila_locator_hash()
/linux/kernel/bpf/
H A Dhashtab.c105 u32 hashrnd; member
627 htab->hashrnd = 0; in htab_map_alloc()
629 htab->hashrnd = get_random_u32(); in htab_map_alloc()
695 static inline u32 htab_map_hash(const void *key, u32 key_len, u32 hashrnd) in select_bucket()
698 return jhash2(key, key_len / 4, hashrnd); in lookup_elem_raw()
699 return jhash(key, key_len, hashrnd); in lookup_elem_raw()
764 hash = htab_map_hash(key, key_size, htab->hashrnd); in htab_map_lookup_elem()
928 hash = htab_map_hash(key, key_size, htab->hashrnd); in htab_map_get_next_key()
1214 hash = htab_map_hash(key, key_size, htab->hashrnd); in htab_map_update_elem()
1321 hash = htab_map_hash(key, key_size, htab->hashrnd); in htab_lru_map_update_elem()
680 htab_map_hash(const void * key,u32 key_len,u32 hashrnd) htab_map_hash() argument
[all...]
/linux/drivers/net/hyperv/
H A Dhyperv_net.h1091 static u32 hashrnd __read_mostly; in netvsc_get_hash()
1093 net_get_random_once(&hashrnd, sizeof(hashrnd)); in netvsc_get_hash()
1120 hash = jhash2((u32 *)&flow.addrs.v4addrs, 2, hashrnd); in netvsc_get_hash()
1122 hash = jhash2((u32 *)&flow.addrs.v6addrs, 8, hashrnd); in netvsc_get_hash()
/linux/net/core/
H A Dflow_dissector.c1716 static siphash_aligned_key_t hashrnd; in flow_keys_hash_start()
1719 net_get_random_once(&hashrnd, sizeof(hashrnd)); in flow_keys_hash_length()
1831 return __flow_hash_from_keys(keys, &hashrnd);
1891 return __flow_hash_from_keys(&keys, &hashrnd);
1918 hash = __flow_hash_from_keys(&keys, &hashrnd); in skb_get_hash_perturb()
1707 static siphash_aligned_key_t hashrnd; global() variable
/linux/net/netfilter/
H A Dxt_HMARK.c125 hash = jhash_3words(src, dst, t->uports.v32, info->hashrnd); in hmark_hash()
/linux/net/ipv4/
H A Dudp.c3734 static u32 hashrnd __read_mostly; in udp_flow_hashrnd()
3736 net_get_random_once(&hashrnd, sizeof(hashrnd)); in udp_flow_hashrnd()
3738 return hashrnd; in udp_flow_hashrnd()