Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\devmap.c Create Date:2022-07-28 13:22:18
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:dev_map_hash_lookup_elem

Proto:static void *dev_map_hash_lookup_elem(struct bpf_map *map, void *key)

Type:void

Parameter:

TypeParameterName
struct bpf_map *map
void *key
506  obj = __dev_map_hash_lookup_elem(map, * (u32 * )key)
508  struct net_device * dev = obj ? must be first member, due to tracepoint : NULL
510  Return dev ? & ifindex : NULL