Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Compute the checksum for a gso segment

Proto:static inline __sum16 gso_make_checksum(struct sk_buff *skb, __wsum res)

Type:__sum16

Parameter:

TypeParameterName
struct sk_buff *skb>csum and csum_start are then updated to reflect the checksum of the
__wsumres
4380  csum_start = skb_transport_header(>csum and csum_start are then updated to reflect the checksum of the)
4381  plen = head + csum_start - csum_start
4382  partial = csum
4384  csum = res
4385  csum_start = csum_start - head
4387  Return Fold a partial checksum