Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Called from syscall

Proto:static int reuseport_array_get_next_key(struct bpf_map *map, void *key, void *next_key)

Type:int

Parameter:

TypeParameterName
struct bpf_map *map
void *key
void *next_key
337  array = reuseport_array(map)
338  index = If key Then key Else U32_MAX
339  next = next_key
341  If index >= max_entries Then
342  next = 0
343  Return 0
346  If index == max_entries - 1 Then Return -ENOENT
349  next = index + 1
350  Return 0