Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bpf_ctx_off_adjust_machine

Proto:static inline u32 bpf_ctx_off_adjust_machine(u32 size)

Type:u32

Parameter:

TypeParameterName
u32size
743  size_machine = sizeof(unsignedlong)
745  If size > size_machine && size % size_machine == 0 Then size = size_machine
748  Return size
Caller
NameDescribe
convert_ctx_accessesvert load instructions that access fields of a context type into a* sequence of instructions that access fields of the underlying structure:* struct __sk_buff -> struct sk_buff* struct bpf_sock_ops -> struct sock