Searched refs:hashrnd (Results 1 – 7 of 7) sorted by relevance
| /linux/net/sched/ |
| H A D | cls_flow.c | 57 u32 hashrnd; 330 classid = jhash2(keys, f->nkeys, f->hashrnd); in flow_classify() 355 get_random_bytes(&f->hashrnd, 4); 476 fnew->hashrnd = fold->hashrnd; in flow_change() 529 get_random_bytes(&fnew->hashrnd, 4); in flow_change() 56 u32 hashrnd; global() member
|
| /linux/include/uapi/linux/netfilter/ |
| H A D | xt_HMARK.h | 47 __u32 hashrnd; member
|
| /linux/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/kernel/bpf/ |
| H A D | hashtab.c | 105 u32 hashrnd; member 609 htab->hashrnd = 0; in htab_map_alloc() 611 htab->hashrnd = get_random_u32(); in htab_map_alloc() 677 static inline u32 htab_map_hash(const void *key, u32 key_len, u32 hashrnd) in htab_map_hash() argument 680 return jhash2(key, key_len / 4, hashrnd); in htab_map_hash() 681 return jhash(key, key_len, hashrnd); in htab_map_hash() 746 hash = htab_map_hash(key, key_size, htab->hashrnd); in __htab_map_lookup_elem() 910 hash = htab_map_hash(key, key_size, htab->hashrnd); in htab_map_get_next_key() 1192 hash = htab_map_hash(key, key_size, htab->hashrnd); in htab_map_update_elem() 1299 hash = htab_map_hash(key, key_size, htab->hashrnd); in htab_lru_map_update_elem() [all …]
|
| /linux/net/core/ |
| H A D | flow_dissector.c | 1707 static siphash_aligned_key_t hashrnd; variable 1710 net_get_random_once(&hashrnd, sizeof(hashrnd)); in __flow_hash_secret_init() 1822 return __flow_hash_from_keys(keys, &hashrnd); in flow_hash_from_keys() 1882 return __flow_hash_from_keys(&keys, &hashrnd); in __skb_get_hash_symmetric_net() 1909 hash = __flow_hash_from_keys(&keys, &hashrnd); in __skb_get_hash_net()
|
| /linux/net/netfilter/ |
| H A D | xt_HMARK.c | 125 hash = jhash_3words(src, dst, t->uports.v32, info->hashrnd); in hmark_hash()
|
| /linux/net/ipv4/ |
| H A D | udp.c | 3691 static u32 hashrnd __read_mostly; in udp_flow_hashrnd() 3693 net_get_random_once(&hashrnd, sizeof(hashrnd)); in udp_flow_hashrnd() 3695 return hashrnd; in udp_flow_hashrnd()
|