函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bpf_ctx_narrow_access_offset

函数原型:static inline u8 bpf_ctx_narrow_access_offset(u32 off, u32 size, u32 size_default)

返回类型:u8

参数:

类型参数名称
u32off
u32size
u32size_default
760  access_off等于off按位与size_default减1
763  返回:access_off
调用者
名称描述
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
sysctl_convert_ctx_access