Searched refs:hashrnd (Results 1 – 8 of 8) sorted by relevance
/Linux-v6.1/net/sched/ |
D | cls_flow.c | 55 u32 hashrnd; member 323 classid = jhash2(keys, f->nkeys, f->hashrnd); in flow_classify() 348 get_random_bytes(&f->hashrnd, 4); in flow_perturbation() 468 fnew->hashrnd = fold->hashrnd; in flow_change() 513 get_random_bytes(&fnew->hashrnd, 4); in flow_change()
|
/Linux-v6.1/include/uapi/linux/netfilter/ |
D | xt_HMARK.h | 47 __u32 hashrnd; member
|
/Linux-v6.1/net/ipv6/ila/ |
D | ila_xlat.c | 35 static u32 hashrnd __read_mostly; 38 net_get_random_once(&hashrnd, sizeof(hashrnd)); in __ila_hash_secret_init() 46 return jhash_2words(v[0], v[1], hashrnd); in ila_locator_hash()
|
/Linux-v6.1/kernel/bpf/ |
D | hashtab.c | 105 u32 hashrnd; member 528 htab->hashrnd = 0; in htab_map_alloc() 530 htab->hashrnd = get_random_u32(); in htab_map_alloc() 600 static inline u32 htab_map_hash(const void *key, u32 key_len, u32 hashrnd) in htab_map_hash() argument 602 return jhash(key, key_len, hashrnd); in htab_map_hash() 668 hash = htab_map_hash(key, key_size, htab->hashrnd); in __htab_map_lookup_elem() 822 hash = htab_map_hash(key, key_size, htab->hashrnd); in htab_map_get_next_key() 1088 hash = htab_map_hash(key, key_size, htab->hashrnd); in htab_map_update_elem() 1190 hash = htab_map_hash(key, key_size, htab->hashrnd); in htab_lru_map_update_elem() 1258 hash = htab_map_hash(key, key_size, htab->hashrnd); in __htab_percpu_map_update_elem() [all …]
|
/Linux-v6.1/drivers/net/hyperv/ |
D | hyperv_net.h | 1071 static u32 hashrnd __read_mostly; in netvsc_get_hash() 1073 net_get_random_once(&hashrnd, sizeof(hashrnd)); in netvsc_get_hash() 1100 hash = jhash2((u32 *)&flow.addrs.v4addrs, 2, hashrnd); in netvsc_get_hash() 1102 hash = jhash2((u32 *)&flow.addrs.v6addrs, 8, hashrnd); in netvsc_get_hash()
|
/Linux-v6.1/net/core/ |
D | flow_dissector.c | 1575 static siphash_aligned_key_t hashrnd; variable 1578 net_get_random_once(&hashrnd, sizeof(hashrnd)); in __flow_hash_secret_init() 1690 return __flow_hash_from_keys(keys, &hashrnd); in flow_hash_from_keys() 1744 return __flow_hash_from_keys(&keys, &hashrnd); in __skb_get_hash_symmetric() 1764 hash = ___skb_get_hash(skb, &keys, &hashrnd); in __skb_get_hash()
|
/Linux-v6.1/net/netfilter/ |
D | xt_HMARK.c | 125 hash = jhash_3words(src, dst, t->uports.v32, info->hashrnd); in hmark_hash()
|
/Linux-v6.1/net/ipv4/ |
D | udp.c | 3253 static u32 hashrnd __read_mostly; in udp_flow_hashrnd() 3255 net_get_random_once(&hashrnd, sizeof(hashrnd)); in udp_flow_hashrnd() 3257 return hashrnd; in udp_flow_hashrnd()
|