Function report |
Source Code:include\linux\skbuff.h |
Create Date:2022-07-28 05:52:42 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:skb_add_data
Proto:static inline int skb_add_data(struct sk_buff *skb, struct iov_iter *from, int copy)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct sk_buff * | skb | |
struct iov_iter * | from | |
int | copy |
3221 | csum = 0 |
3222 | If csum_and_copy_from_iter_full(add data to a buffer, copy, & csum, from) Then |
3224 | csum = csum_block_add(csum, csum, off) |
3225 | Return 0 |
3227 | Else if copy_from_iter_full(add data to a buffer, copy, from) Then Return 0 |
3230 | __skb_trim(skb, off) |
3231 | Return -EFAULT |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |