Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\udp.h Create Date:2022-07-28 19:15:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:udp_csum_pull_header

Proto:static inline void udp_csum_pull_header(struct sk_buff *skb)

Type:void

Parameter:

TypeParameterName
struct sk_buff *skb
159  If Not csum_valid && ip_summed == Device failed to checksum this packet e.g. due to lack of capabilities Then csum = mputes the checksum of a memory block at buff, length len,* and adds in "sum" (32-bit)* returns a 32-bit number suitable for feeding into itself* or csum_tcpudp_magic* this function must be called with even lengths, except* for the last fragment, which
162  skb_pull_rcsum(skb, sizeof(structudphdr))
163  cscov -= sizeof(structudphdr)