Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\ndisc.h Create Date:2022-07-28 06:11:13
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ndisc_hashfn

Proto:static inline u32 ndisc_hashfn(const void *pkey, const struct net_device *dev, __u32 *hash_rnd)

Type:u32

Parameter:

TypeParameterName
const void *pkey
const struct net_device *dev
__u32 *hash_rnd
372  p32 = pkey
374  Return (p32[0] ^ hash32_ptr(dev)) * hash_rnd[0] + p32[1] * hash_rnd[1] + p32[2] * hash_rnd[2] + p32[3] * hash_rnd[3]