Searched refs:hashrnd (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/kernel/bpf/ |
D | hashtab.c | 45 u32 hashrnd; member 376 htab->hashrnd = get_random_int(); in htab_map_alloc() 408 static inline u32 htab_map_hash(const void *key, u32 key_len, u32 hashrnd) in htab_map_hash() argument 410 return jhash(key, key_len, hashrnd); in htab_map_hash() 476 hash = htab_map_hash(key, key_size, htab->hashrnd); in __htab_map_lookup_elem() 603 hash = htab_map_hash(key, key_size, htab->hashrnd); in htab_map_get_next_key() 830 hash = htab_map_hash(key, key_size, htab->hashrnd); in htab_map_update_elem() 886 hash = htab_map_hash(key, key_size, htab->hashrnd); in htab_lru_map_update_elem() 951 hash = htab_map_hash(key, key_size, htab->hashrnd); in __htab_percpu_map_update_elem() 1004 hash = htab_map_hash(key, key_size, htab->hashrnd); in __htab_lru_percpu_map_update_elem() [all …]
|
/Linux-v4.19/net/ipv6/ |
D | output_core.c | 13 static u32 __ipv6_select_ident(struct net *net, u32 hashrnd, in __ipv6_select_ident() argument 19 hash = __ipv6_addr_jhash(dst, hashrnd); in __ipv6_select_ident()
|
/Linux-v4.19/net/sched/ |
D | cls_flow.c | 59 u32 hashrnd; member 327 classid = jhash2(keys, f->nkeys, f->hashrnd); in flow_classify() 352 get_random_bytes(&f->hashrnd, 4); in flow_perturbation() 470 fnew->hashrnd = fold->hashrnd; in flow_change() 515 get_random_bytes(&fnew->hashrnd, 4); in flow_change()
|
/Linux-v4.19/include/uapi/linux/netfilter/ |
D | xt_HMARK.h | 47 __u32 hashrnd; member
|
/Linux-v4.19/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-v4.19/net/core/ |
D | flow_dissector.c | 1080 static u32 hashrnd __read_mostly; 1083 net_get_random_once(&hashrnd, sizeof(hashrnd)); in __flow_hash_secret_init() 1201 return __flow_hash_from_keys(keys, hashrnd); in flow_hash_from_keys() 1254 return __flow_hash_from_keys(&keys, hashrnd); in __skb_get_hash_symmetric() 1274 hash = ___skb_get_hash(skb, &keys, hashrnd); in __skb_get_hash()
|
/Linux-v4.19/drivers/net/hyperv/ |
D | netvsc_drv.c | 245 static u32 hashrnd __read_mostly; in netvsc_get_hash() 247 net_get_random_once(&hashrnd, sizeof(hashrnd)); in netvsc_get_hash() 274 hash = jhash2((u32 *)&flow.addrs.v4addrs, 2, hashrnd); in netvsc_get_hash() 276 hash = jhash2((u32 *)&flow.addrs.v6addrs, 8, hashrnd); in netvsc_get_hash()
|
/Linux-v4.19/net/netfilter/ |
D | xt_HMARK.c | 128 hash = jhash_3words(src, dst, t->uports.v32, info->hashrnd); in hmark_hash()
|
/Linux-v4.19/net/ipv4/ |
D | udp.c | 2887 static u32 hashrnd __read_mostly; in udp_flow_hashrnd() 2889 net_get_random_once(&hashrnd, sizeof(hashrnd)); in udp_flow_hashrnd() 2891 return hashrnd; in udp_flow_hashrnd()
|