函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:csum_sub

函数原型:static inline __wsum csum_sub(__wsum csum, __wsum addend)

返回类型:__wsum

参数:

类型参数名称
__wsumcsum
__wsumaddend
67  返回:csum_add(csum, ~addend)
调用者
名称描述
csum_replace4
remcsum_adjust
remcsum_unadjust
skb_gro_postpull_rcsum
IP6_ECN_set_ceNote:* IP_ECN_set_ce() has to tweak IPV4 checksum when setting CE,* meaning both changes have no effect on skb->csum if/when CHECKSUM_COMPLETE* In IPv6 case, no checksum compensates the change in IPv6 header,* so we have to update skb->csum.