Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Calculate(/check) TCP checksum

Proto:static inline __sum16 tcp_v4_check(int len, __be32 saddr, __be32 daddr, __wsum base)

Type:__sum16

Parameter:

TypeParameterName
intlen
__be32saddr
__be32daddr
__wsumbase
1344  Return mputes the checksum of the TCP/UDP pseudo-header* returns a 16-bit checksum, already complemented