Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__skb_postpull_rcsum

Proto:static __always_inline void __skb_postpull_rcsum(struct sk_buff *skb, const void *start, unsigned int len, unsigned int off)

Type:void

Parameter:

TypeParameterName
struct sk_buff *skb
const void *start
unsigned intlen
unsigned intoff
3295  If ip_summed == This is the most generic way Then csum = csum_block_sub(csum, mputes the checksum of a memory block at buff, length len,* and adds in "sum" (32-bit)* returns a 32-bit number suitable for feeding into itself* or csum_tcpudp_magic* this function must be called with even lengths, except* for the last fragment, which , off)
3298  Else if ip_summed == A checksum is set up to be offloaded to a device as described in the output description for CHECKSUM_PARTIAL && skb_checksum_start_offset(skb) < 0 Then ip_summed = Device failed to checksum this packet e.g. due to lack of capabilities