Home
last modified time | relevance | path

Searched refs:hash_rnd (Results 1 – 4 of 4) sorted by relevance

/net/netfilter/
Dxt_recent.c109 static u_int32_t hash_rnd __read_mostly;
113 return jhash_1word((__force u32)addr->ip, hash_rnd) & in recent_entry_hash4()
119 return jhash2((u32 *)addr->ip6, ARRAY_SIZE(addr->ip6), hash_rnd) & in recent_entry_hash6()
346 net_get_random_once(&hash_rnd, sizeof(hash_rnd)); in recent_mt_check()
/net/ipv4/
Darp.c122 static u32 arp_hash(const void *pkey, const struct net_device *dev, __u32 *hash_rnd);
212 __u32 *hash_rnd) in arp_hash() argument
214 return arp_hashfn(pkey, dev, hash_rnd); in arp_hash()
/net/ipv6/
Dndisc.c74 __u32 *hash_rnd);
316 __u32 *hash_rnd) in ndisc_hash() argument
318 return ndisc_hashfn(pkey, dev, hash_rnd); in ndisc_hash()
/net/core/
Dneighbour.c212 hash_val = tbl->hash(pkey, ndel->dev, nht->hash_rnd); in neigh_remove_one()
500 neigh_get_hash_rnd(&ret->hash_rnd[i]); in neigh_hash_alloc()
543 new_nht->hash_rnd); in neigh_hash_grow()
633 hash_val = tbl->hash(n->primary_key, dev, nht->hash_rnd) >> (32 - nht->hash_shift); in ___neigh_create()
2089 ndc.ndtc_hash_rnd = nht->hash_rnd[0]; in neightbl_fill_info()