/linux-4.4.14/include/net/ |
H A D | flowcache.h | 12 u32 hash_rnd; member in struct:flow_cache_percpu
|
H A D | arp.h | 12 static inline u32 arp_hashfn(const void *pkey, const struct net_device *dev, u32 *hash_rnd) arp_hashfn() argument 17 return val * hash_rnd[0]; arp_hashfn()
|
H A D | ndisc.h | 147 static inline u32 ndisc_hashfn(const void *pkey, const struct net_device *dev, __u32 *hash_rnd) ndisc_hashfn() argument 151 return (((p32[0] ^ hash32_ptr(dev)) * hash_rnd[0]) + ndisc_hashfn() 152 (p32[1] * hash_rnd[1]) + ndisc_hashfn() 153 (p32[2] * hash_rnd[2]) + ndisc_hashfn() 154 (p32[3] * hash_rnd[3])); ndisc_hashfn()
|
H A D | neighbour.h | 185 __u32 hash_rnd[NEIGH_NUM_HASH_RND]; member in struct:neigh_hash_table 197 __u32 *hash_rnd); 275 __u32 *hash_rnd), ___neigh_lookup_noref() 283 hash_val = hash(pkey, dev, nht->hash_rnd) >> (32 - nht->hash_shift); ___neigh_lookup_noref() 270 ___neigh_lookup_noref( struct neigh_table *tbl, bool (*key_eq)(const struct neighbour *n, const void *pkey), __u32 (*hash)(const void *pkey, const struct net_device *dev, __u32 *hash_rnd), const void *pkey, struct net_device *dev) ___neigh_lookup_noref() argument
|
/linux-4.4.14/include/linux/ |
H A D | rhashtable.h | 60 * @hash_rnd: Random seed to fold into hash 71 u32 hash_rnd; member in struct:bucket_table 219 hash = ht->p.hashfn(key, ht->key_len, tbl->hash_rnd); rht_key_hashfn() 224 hash = params.hashfn(key, key_len, tbl->hash_rnd); rht_key_hashfn() 226 hash = jhash(key, key_len, tbl->hash_rnd); rht_key_hashfn() 229 tbl->hash_rnd); rht_key_hashfn() 234 hash = params.hashfn(key, key_len, tbl->hash_rnd); rht_key_hashfn() 236 hash = jhash(key, key_len, tbl->hash_rnd); rht_key_hashfn() 251 tbl->hash_rnd)) : rht_head_hashfn()
|
/linux-4.4.14/net/netfilter/ |
H A D | xt_recent.c | 112 static u_int32_t hash_rnd __read_mostly; 117 return jhash_1word((__force u32)addr->ip, hash_rnd) & recent_entry_hash4() 123 return jhash2((u32 *)addr->ip6, ARRAY_SIZE(addr->ip6), hash_rnd) & recent_entry_hash6() 344 get_random_bytes(&hash_rnd, sizeof(hash_rnd)); recent_mt_check()
|
/linux-4.4.14/net/core/ |
H A D | flow.c | 153 get_random_bytes(&fcp->hash_rnd, sizeof(u32)); flow_new_hash_rnd() 166 return jhash2(k, length, fcp->hash_rnd) flow_hash_code()
|
H A D | neighbour.c | 340 neigh_get_hash_rnd(&ret->hash_rnd[i]); neigh_hash_alloc() 381 new_nht->hash_rnd); neigh_hash_grow() 432 hash_val = tbl->hash(pkey, NULL, nht->hash_rnd) >> (32 - nht->hash_shift); neigh_lookup_nodev() 499 hash_val = tbl->hash(pkey, dev, nht->hash_rnd) >> (32 - nht->hash_shift); __neigh_create() 1828 ndc.ndtc_hash_rnd = nht->hash_rnd[0]; neightbl_fill_info()
|
/linux-4.4.14/net/decnet/ |
H A D | dn_neigh.c | 67 __u32 *hash_rnd) dn_neigh_hash() 69 return jhash_2words(*(__u16 *)pkey, 0, hash_rnd[0]); dn_neigh_hash() 65 dn_neigh_hash(const void *pkey, const struct net_device *dev, __u32 *hash_rnd) dn_neigh_hash() argument
|
/linux-4.4.14/net/mac80211/ |
H A D | mesh.h | 134 * @hash_rnd: random value used for hash computations 152 __u32 hash_rnd; /* Used for hash generation */ member in struct:mesh_table
|
H A D | mesh_pathtbl.c | 109 get_random_bytes(&newtbl->hash_rnd, mesh_table_alloc() 110 sizeof(newtbl->hash_rnd)); mesh_table_alloc() 193 tbl->hash_rnd) & tbl->hash_mask; mesh_table_hash()
|
H A D | sta_info.h | 599 rht_bucket_index(_tbl, sta_addr_hash(_a, ETH_ALEN, (_tbl)->hash_rnd))
|
/linux-4.4.14/lib/ |
H A D | rhashtable.c | 137 get_random_bytes(&tbl->hash_rnd, sizeof(tbl->hash_rnd)); bucket_table_alloc()
|
/linux-4.4.14/net/ipv4/ |
H A D | arp.c | 126 static u32 arp_hash(const void *pkey, const struct net_device *dev, __u32 *hash_rnd); 214 __u32 *hash_rnd) arp_hash() 216 return arp_hashfn(pkey, dev, hash_rnd); arp_hash() 212 arp_hash(const void *pkey, const struct net_device *dev, __u32 *hash_rnd) arp_hash() argument
|
/linux-4.4.14/net/ipv6/ |
H A D | ndisc.c | 87 __u32 *hash_rnd); 297 __u32 *hash_rnd) ndisc_hash() 299 return ndisc_hashfn(pkey, dev, hash_rnd); ndisc_hash() 295 ndisc_hash(const void *pkey, const struct net_device *dev, __u32 *hash_rnd) ndisc_hash() argument
|