函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Similar to bpf_compute_data_pointers(), except that save orginal* data in cb->data and cb->meta_data for restore.

函数原型:static inline void bpf_compute_and_save_data_end(struct sk_buff *skb, void **saved_data_end)

返回类型:void

参数:

类型参数名称
struct sk_buff *skb
void **saved_data_end
622  cb等于* This is the control buffer. It is free to use for every * layer. Please put your private variables there. If you * want to keep them across layers you have to do a skb_clone() * first. This is owned by whoever has the skb queued ATM.
624  saved_data_end等于data_end
625  data_end等于dataskb_headlen(skb)
调用者
名称描述
__cgroup_bpf_run_filter_skb__cgroup_bpf_run_filter_skb() - Run a program for packet filtering*@sk: The socket sending or receiving traffic*@skb: The skb that is being sent or received*@type: The type of program to be exectuted* If no socket is passed, or the socket is not of type