函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:mputes the checksum of the TCP/UDP pseudo-header* returns a 16-bit checksum, already complemented

函数原型:static inline __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, __u32 len, __u8 proto, __wsum sum)

返回类型:__sum16

参数:

类型参数名称
__be32saddr
__be32daddr
__u32len
__u8proto
__wsumsum
136  返回:Fold a partial checksum
调用者
名称描述
tcp_v4_checkCalculate(/check) TCP checksum
udp_v4_check