Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:udp_csum

Proto:static inline __wsum udp_csum(struct sk_buff *skb)

Type:__wsum

Parameter:

TypeParameterName
struct sk_buff *skb
139  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
142  When skb cycle
143  csum = csum_add(csum, csum)
145  Return csum