Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__neigh_lookup

Proto:static inline struct neighbour *__neigh_lookup(struct neigh_table *tbl, const void *pkey, struct net_device *dev, int creat)

Type:struct neighbour

Parameter:

TypeParameterName
struct neigh_table *tbl
const void *pkey
struct net_device *dev
intcreat
516  n = neigh_lookup(tbl, pkey, dev)
518  If n || Not creat Then Return n
521  n = neigh_create(tbl, pkey, dev)
522  Return If IS_ERR(n) Then NULL Else n