函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__skb_postpush_rcsum

函数原型:static __always_inline void __skb_postpush_rcsum(struct sk_buff *skb, const void *start, unsigned int len, unsigned int off)

返回类型:void

参数:

类型参数名称
struct sk_buff *skb
const void *start
unsigned intlen
unsigned intoff
3323  如果ip_summed恒等于CHECKSUM_COMPLETEcsum等于csum_block_add(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)
调用者
名称描述
skb_postpush_rcsumskb_postpush_rcsum - update checksum for received skb after push*@skb: buffer to update*@start: start of data after push*@len: length of data pushed* After doing a push on a received packet, you need to call this to* update the CHECKSUM_COMPLETE checksum.