Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Restore data saved by bpf_compute_data_pointers().

Proto:static inline void bpf_restore_data_end(struct sk_buff *skb, void *saved_data_end)

Type:void

Parameter:

TypeParameterName
struct sk_buff *skb
void *saved_data_end
632  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.
634  data_end = saved_data_end
Caller
NameDescribe
__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