函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:skb_gro_remcsum_process

函数原型:static inline void *skb_gro_remcsum_process(struct sk_buff *skb, void *ptr, unsigned int off, size_t hdrlen, int start, int offset, struct gro_remcsum *grc, bool nopartial)

返回类型:void

参数:

类型参数名称
struct sk_buff *skb
void *ptr
unsigned intoff
size_thdrlen
intstart
intoffset
struct gro_remcsum *grc
boolnopartial
2859  plen等于hdrlenmax_t - return maximum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(size_t, offset + sizeof(u16), start)
2861  BUG_ON(!csum_valid)
2863  如果非nopartial
2864  gro_remcsum_start等于offhdrlenstart
2865  返回:ptr
2868  ptr等于skb_gro_header_fast(skb, off)
2869  如果skb_gro_header_hard(skb, off + plen)则
2870  ptr等于skb_gro_header_slow(skb, off + plen, off)
2871  如果非ptr则返回:NULL
2875  delta等于remcsum_adjust(ptr + hdrlen, csum, start, offset)
2879  csum等于csum_add(csum, delta)
2881  offset等于offhdrlenoffset
2882  delta等于delta
2884  返回:ptr