Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:skb_add_data_nocache

Proto:static inline int skb_add_data_nocache(struct sock *sk, struct sk_buff *skb, struct iov_iter *from, int copy)

Type:int

Parameter:

TypeParameterName
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, add data to a buffer, copy, offset)
2005  If err Then __skb_trim(skb, offset)
2008  Return err