函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Local Checksum Offload.* Compute outer checksum based on the assumption that the* inner checksum will be offloaded later.* See Documentation/networking/checksum-offloads.rst for* explanation of how this works.* Fill in outer checksum adjustment (e

函数原型:static inline __wsum lco_csum(struct sk_buff *skb)

返回类型:__wsum

参数:

类型参数名称
struct sk_buff *skb
4506  csum_start等于skb_checksum_start(skb)
4507  l4_hdr等于skb_transport_header(skb)
4511  partial等于csum_unfold( * (__force__sum16 * )(csum_start + csum_offset))的反
4517  返回: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