Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:cg_sockopt_func_proto

Proto:static const struct bpf_func_proto *cg_sockopt_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog)

Type:struct bpf_func_proto

Parameter:

TypeParameterName
enum bpf_func_idfunc_id
const struct bpf_prog *prog
1414  Case func_id == BPF_FUNC_sk_storage_get
1415  Return bpf_sk_storage_get_proto
1416  Case func_id == BPF_FUNC_sk_storage_delete
1417  Return bpf_sk_storage_delete_proto
1423  Default
1424  Return cgroup_base_func_proto(func_id, prog)