/kernel/linux/linux-5.10/include/uapi/linux/netfilter/ |
H A D | xt_HMARK.h | 47 __u32 hashrnd; member
|
/kernel/linux/linux-6.6/include/uapi/linux/netfilter/ |
H A D | xt_HMARK.h | 47 __u32 hashrnd; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/netfilter/ |
H A D | xt_HMARK.h | 60 __u32 hashrnd; member
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/netfilter/ |
H A D | xt_HMARK.h | 60 __u32 hashrnd; member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/netfilter/ |
H A D | xt_HMARK.h | 47 __u32 hashrnd; member
|
/kernel/linux/linux-5.10/kernel/bpf/ |
H A D | hashtab.c | 101 u32 hashrnd; member 488 htab->hashrnd = 0; in htab_map_alloc() 490 htab->hashrnd = get_random_int(); in htab_map_alloc() 522 static inline u32 htab_map_hash(const void *key, u32 key_len, u32 hashrnd) in htab_map_hash() argument 524 return jhash(key, key_len, hashrnd); in htab_map_hash() 589 hash = htab_map_hash(key, key_size, htab->hashrnd); in __htab_map_lookup_elem() 728 hash = htab_map_hash(key, key_size, htab->hashrnd); in htab_map_get_next_key() 978 hash = htab_map_hash(key, key_size, htab->hashrnd); in htab_map_update_elem() 1069 hash = htab_map_hash(key, key_size, htab->hashrnd); in htab_lru_map_update_elem() 1133 hash = htab_map_hash(key, key_size, htab->hashrnd); in __htab_percpu_map_update_elem() [all...] |
/kernel/linux/linux-5.10/net/sched/ |
H A 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()
|
/kernel/linux/linux-6.6/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() 470 fnew->hashrnd = fold->hashrnd; in flow_change() 515 get_random_bytes(&fnew->hashrnd, 4); in flow_change()
|
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | hashtab.c | 105 u32 hashrnd; member 542 htab->hashrnd = 0; in htab_map_alloc() 544 htab->hashrnd = get_random_u32(); in htab_map_alloc() 616 static inline u32 htab_map_hash(const void *key, u32 key_len, u32 hashrnd) in htab_map_hash() argument 619 return jhash2(key, key_len / 4, hashrnd); in htab_map_hash() 620 return jhash(key, key_len, hashrnd); in htab_map_hash() 686 hash = htab_map_hash(key, key_size, htab->hashrnd); in __htab_map_lookup_elem() 846 hash = htab_map_hash(key, key_size, htab->hashrnd); in htab_map_get_next_key() 1113 hash = htab_map_hash(key, key_size, htab->hashrnd); in htab_map_update_elem() 1216 hash = htab_map_hash(key, key_size, htab->hashrnd); in htab_lru_map_update_elem() [all...] |
/kernel/linux/linux-5.10/net/ipv6/ila/ |
H A 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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-6.6/drivers/net/hyperv/ |
H A D | hyperv_net.h | 1075 static u32 hashrnd __read_mostly; in netvsc_get_hash() 1077 net_get_random_once(&hashrnd, sizeof(hashrnd)); in netvsc_get_hash() 1104 hash = jhash2((u32 *)&flow.addrs.v4addrs, 2, hashrnd); in netvsc_get_hash() 1106 hash = jhash2((u32 *)&flow.addrs.v6addrs, 8, hashrnd); in netvsc_get_hash()
|
/kernel/linux/linux-5.10/net/core/ |
H A D | flow_dissector.c | 1426 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() 1594 return __flow_hash_from_keys(&keys, &hashrnd); in __skb_get_hash_symmetric() 1614 hash = ___skb_get_hash(skb, &keys, &hashrnd); in __skb_get_hash()
|
/kernel/linux/linux-6.6/net/core/ |
H A D | flow_dissector.c | 1668 static siphash_aligned_key_t hashrnd; variable 1671 net_get_random_once(&hashrnd, sizeof(hashrnd)); in __flow_hash_secret_init() 1783 return __flow_hash_from_keys(keys, &hashrnd); in flow_hash_from_keys() 1836 return __flow_hash_from_keys(&keys, &hashrnd); in __skb_get_hash_symmetric() 1856 hash = ___skb_get_hash(skb, &keys, &hashrnd); in __skb_get_hash()
|
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | xt_HMARK.c | 125 hash = jhash_3words(src, dst, t->uports.v32, info->hashrnd); in hmark_hash()
|
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | xt_HMARK.c | 125 hash = jhash_3words(src, dst, t->uports.v32, info->hashrnd); in hmark_hash()
|
/kernel/linux/linux-5.10/drivers/net/hyperv/ |
H A D | netvsc_drv.c | 256 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()
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | udp.c | 3200 static u32 hashrnd __read_mostly; in udp_flow_hashrnd() 3202 net_get_random_once(&hashrnd, sizeof(hashrnd)); in udp_flow_hashrnd() 3204 return hashrnd; in udp_flow_hashrnd()
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | udp.c | 3419 static u32 hashrnd __read_mostly; in udp_flow_hashrnd() 3421 net_get_random_once(&hashrnd, sizeof(hashrnd)); in udp_flow_hashrnd() 3423 return hashrnd; in udp_flow_hashrnd()
|