Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\checksum_32.h Create Date:2022-07-28 05:51:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mputes the checksum of the TCP/UDP pseudo-header* returns a 16-bit checksum, already complemented

Proto:static inline __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, __u32 len, __u8 proto, __wsum sum)

Type:__sum16

Parameter:

TypeParameterName
__be32saddr
__be32daddr
__u32len
__u8proto
__wsumsum
136  Return Fold a partial checksum