Commit | Line | Data |
---|---|---|
7b7ed885 BVA |
1 | /* SPDX-License-Identifier: GPL-2.0 */ |
2 | ||
3 | #ifndef _NET_CORE_DATAGRAM_H_ | |
4 | #define _NET_CORE_DATAGRAM_H_ | |
5 | ||
6 | #include <linux/types.h> | |
7 | ||
8 | struct sock; | |
9 | struct sk_buff; | |
10 | struct iov_iter; | |
11 | ||
12 | int __zerocopy_sg_from_iter(struct sock *sk, struct sk_buff *skb, | |
13 | struct iov_iter *from, size_t length); | |
14 | ||
15 | #endif /* _NET_CORE_DATAGRAM_H_ */ |