Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/net/sched/
H A Dcls_flow.c55 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()
/OK3568_Linux_fs/kernel/kernel/bpf/
H A Dhashtab.c101 u32 hashrnd; member
484 htab->hashrnd = 0; in htab_map_alloc()
486 htab->hashrnd = get_random_int(); in htab_map_alloc()
518 static inline u32 htab_map_hash(const void *key, u32 key_len, u32 hashrnd) in htab_map_hash() argument
520 return jhash(key, key_len, hashrnd); in htab_map_hash()
585 hash = htab_map_hash(key, key_size, htab->hashrnd); in __htab_map_lookup_elem()
724 hash = htab_map_hash(key, key_size, htab->hashrnd); in htab_map_get_next_key()
974 hash = htab_map_hash(key, key_size, htab->hashrnd); in htab_map_update_elem()
1065 hash = htab_map_hash(key, key_size, htab->hashrnd); in htab_lru_map_update_elem()
1129 hash = htab_map_hash(key, key_size, htab->hashrnd); in __htab_percpu_map_update_elem()
[all …]
/OK3568_Linux_fs/kernel/net/ipv6/ila/
H A Dila_xlat.c35 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()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/netfilter/
H A Dxt_HMARK.h47 __u32 hashrnd; member
/OK3568_Linux_fs/kernel/include/uapi/linux/netfilter/
H A Dxt_HMARK.h47 __u32 hashrnd; member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/netfilter/
H A Dxt_HMARK.h47 __u32 hashrnd; member
/OK3568_Linux_fs/kernel/net/core/
H A Dflow_dissector.c1426 static siphash_key_t hashrnd __read_mostly;
1429 net_get_random_once(&hashrnd, sizeof(hashrnd)); in __flow_hash_secret_init()
1541 return __flow_hash_from_keys(keys, &hashrnd); in flow_hash_from_keys()
1595 return __flow_hash_from_keys(&keys, &hashrnd); in __skb_get_hash_symmetric()
1615 hash = ___skb_get_hash(skb, &keys, &hashrnd); in __skb_get_hash()
/OK3568_Linux_fs/kernel/drivers/net/hyperv/
H A Dnetvsc_drv.c256 static u32 hashrnd __read_mostly; in netvsc_get_hash()
258 net_get_random_once(&hashrnd, sizeof(hashrnd)); in netvsc_get_hash()
285 hash = jhash2((u32 *)&flow.addrs.v4addrs, 2, hashrnd); in netvsc_get_hash()
287 hash = jhash2((u32 *)&flow.addrs.v6addrs, 8, hashrnd); in netvsc_get_hash()
/OK3568_Linux_fs/kernel/net/netfilter/
H A Dxt_HMARK.c125 hash = jhash_3words(src, dst, t->uports.v32, info->hashrnd); in hmark_hash()
/OK3568_Linux_fs/kernel/net/ipv4/
H A Dudp.c3179 static u32 hashrnd __read_mostly; in udp_flow_hashrnd()
3181 net_get_random_once(&hashrnd, sizeof(hashrnd)); in udp_flow_hashrnd()
3183 return hashrnd; in udp_flow_hashrnd()