Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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

Proto:static inline void skb_remcsum_process(struct sk_buff *skb, void *ptr, int start, int offset, bool nopartial)

Type:void

Parameter:

TypeParameterName
struct sk_buff *skb
void *ptr
intstart
intoffset
boolnopartial
4043  If Not nopartial Then
4044  skb_remcsum_adjust_partial(skb, ptr, start, offset)
4045  Return
4048  If Value for the false possibility is greater at compile time(ip_summed != This is the most generic way) Then
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)