函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:skb_headlen

函数原型:static inline unsigned int skb_headlen(const struct sk_buff *skb)

返回类型:unsigned int

参数:

类型参数名称
const struct sk_buff *skb
2072  返回:lendata_len
调用者
名称描述
skb_pagelen
__pskb_pull
pskb_may_pull
skb_header_pointer
bpf_compute_data_pointersCompute the linear packet data range [data, data_end) which* will be accessed by various program types (cls_bpf, act_bpf,* lwt, ...). Subsystems allowing direct data access must (!)* ensure that cb[] area can be written to when BPF program is
bpf_compute_and_save_data_endSimilar to bpf_compute_data_pointers(), except that save orginal* data in cb->data and cb->meta_data for restore.
bpf_compute_data_end_sk_skb