函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:skb_add_data_nocache

函数原型:static inline int skb_add_data_nocache(struct sock *sk, struct sk_buff *skb, struct iov_iter *from, int copy)

返回类型:int

参数:

类型参数名称
struct sock *sk
struct sk_buff *skb
struct iov_iter *from
intcopy
2001  offset等于len
2003  err等于skb_do_copy_data_nocache(sk, skb, from, 设置数据在缓存区, copy, offset)
2005  如果err__skb_trim(skb, offset)
2008  返回:err