函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:skb_csum_unnecessary

函数原型:static inline int skb_csum_unnecessary(const struct sk_buff *skb)

返回类型:int

参数:

类型参数名称
const struct sk_buff *skb
3849  返回:ip_summed恒等于CHECKSUM_UNNECESSARYcsum_validip_summed恒等于CHECKSUM_PARTIALskb_checksum_start_offset(skb)大于等于0
调用者
名称描述
skb_checksum_completeskb_checksum_complete - Calculate checksum of an entire packet*@skb: packet to process* This function calculates the checksum over the entire packet plus* the value of skb->csum. The latter can be used to supply the
__skb_checksum_validate_neededCheck if we need to perform checksum complete validation.* Returns true if checksum complete is needed, false otherwise* (either checksum is unnecessary or zero checksum is allowed).
tcp_checksum_complete
udp_lib_checksum_complete
udp_skb_csum_unnecessary