Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__skb_header_pointer

Proto:static inline void *__must_check __skb_header_pointer(const struct sk_buff *skb, int offset, int len, void *data, int hlen, void *buffer)

Type:void

Parameter:

TypeParameterName
const struct sk_buff *skb
intoffset
intlen
void *data
inthlen
void *buffer
3566  If hlen - offset >= len Then Return data + offset
3569  If Not skb || skb_copy_bits(skb, offset, buffer, len) < 0 Then Return NULL
3573  Return buffer