Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:skb_frag_address_safe - gets the address of the data contained in a paged fragment*@frag: the paged fragment buffer* Returns the address of the data within @frag. Checks that the page* is mapped and returns %NULL otherwise.

Proto:static inline void *skb_frag_address_safe(const skb_frag_t *frag)

Type:void

Parameter:

TypeParameterName
const skb_frag_t *frag
3010  ptr = page_address(skb_frag_page - retrieve the page referred to by a paged fragment*@frag: the paged fragment* Returns the &struct page associated with @frag.)
3011  If Value for the false possibility is greater at compile time(!ptr) Then Return NULL
3014  Return ptr + skb_frag_off() - Returns the offset of a skb fragment*@frag: the paged fragment