函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Update skbuf and packet to reflect the remote checksum offload operation.* When called, ptr indicates the starting point for skb->csum when* ip_summed is CHECKSUM_COMPLETE. If we need create checksum complete

函数原型:static inline void skb_remcsum_process(struct sk_buff *skb, void *ptr, int start, int offset, bool nopartial)

返回类型:void

参数:

类型参数名称
struct sk_buff *skb
void *ptr
intstart
intoffset
boolnopartial
4043  如果非nopartial
4044  skb_remcsum_adjust_partial(skb, ptr, start, offset)
4045  返回
4048  如果此条件成立可能性小(为编译器优化)(ip_summed != CHECKSUM_COMPLETE)则
4049  __skb_checksum_complete(skb)
4050  skb_postpull_rcsum - update checksum for received skb after pull*@skb: buffer to update*@start: start of data before pull*@len: length of data pulled* After doing a pull on a received packet, you need to call this to* update the CHECKSUM_COMPLETE
4053  delta等于remcsum_adjust(ptr, csum, start, offset)
4056  csum等于csum_add(csum, delta)