Searched refs:hashrnd (Results 1 – 8 of 8) sorted by relevance
| /linux-6.15/net/sched/ |
| H A D | cls_flow.c | 56 u32 hashrnd; member 325 classid = jhash2(keys, f->nkeys, f->hashrnd); in flow_classify() 350 get_random_bytes(&f->hashrnd, 4); in flow_perturbation() 471 fnew->hashrnd = fold->hashrnd; in flow_change() 516 get_random_bytes(&fnew->hashrnd, 4); in flow_change()
|
| /linux-6.15/include/uapi/linux/netfilter/ |
| H A D | xt_HMARK.h | 47 __u32 hashrnd; member
|
| /linux-6.15/kernel/bpf/ |
| H A D | hashtab.c | 107 u32 hashrnd; member 518 htab->hashrnd = 0; in htab_map_alloc() 520 htab->hashrnd = get_random_u32(); in htab_map_alloc() 592 return jhash2(key, key_len / 4, hashrnd); in htab_map_hash() 593 return jhash(key, key_len, hashrnd); in htab_map_hash() 659 hash = htab_map_hash(key, key_size, htab->hashrnd); in __htab_map_lookup_elem() 823 hash = htab_map_hash(key, key_size, htab->hashrnd); in htab_map_get_next_key() 1092 hash = htab_map_hash(key, key_size, htab->hashrnd); in htab_map_update_elem() 1210 hash = htab_map_hash(key, key_size, htab->hashrnd); in htab_lru_map_update_elem() 1279 hash = htab_map_hash(key, key_size, htab->hashrnd); in __htab_percpu_map_update_elem() [all …]
|
| /linux-6.15/net/ipv6/ila/ |
| H A D | ila_xlat.c | 34 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-6.15/drivers/net/hyperv/ |
| H A D | hyperv_net.h | 1086 static u32 hashrnd __read_mostly; in netvsc_get_hash() 1088 net_get_random_once(&hashrnd, sizeof(hashrnd)); in netvsc_get_hash() 1115 hash = jhash2((u32 *)&flow.addrs.v4addrs, 2, hashrnd); in netvsc_get_hash() 1117 hash = jhash2((u32 *)&flow.addrs.v6addrs, 8, hashrnd); in netvsc_get_hash()
|
| /linux-6.15/net/core/ |
| H A D | flow_dissector.c | 1702 static siphash_aligned_key_t hashrnd; variable 1705 net_get_random_once(&hashrnd, sizeof(hashrnd)); in __flow_hash_secret_init() 1817 return __flow_hash_from_keys(keys, &hashrnd); in flow_hash_from_keys() 1877 return __flow_hash_from_keys(&keys, &hashrnd); in __skb_get_hash_symmetric_net() 1904 hash = __flow_hash_from_keys(&keys, &hashrnd); in __skb_get_hash_net()
|
| /linux-6.15/net/netfilter/ |
| H A D | xt_HMARK.c | 125 hash = jhash_3words(src, dst, t->uports.v32, info->hashrnd); in hmark_hash()
|
| /linux-6.15/net/ipv4/ |
| H A D | udp.c | 3710 static u32 hashrnd __read_mostly; in udp_flow_hashrnd() 3712 net_get_random_once(&hashrnd, sizeof(hashrnd)); in udp_flow_hashrnd() 3714 return hashrnd; in udp_flow_hashrnd()
|