函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\filter.h Create Date:2022-07-27 07:05:35
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:bpf_ctx_off_adjust_machine

函数原型:static inline u32 bpf_ctx_off_adjust_machine(u32 size)

返回类型:u32

参数:

类型参数名称
u32size
743  size_machine等于sizeof(unsignedlong)
745  如果size大于size_machinesize取模size_machine恒等于0则size等于size_machine
748  返回:size
调用者
名称描述
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