https://github.com/torvalds/linux
Raw File
Tip revision: a5e13c6df0e41702d2b2c77c8ad41677ebb065b3 authored by Linus Torvalds on 28 March 2021, 22:48:16 UTC
Linux 5.12-rc5
Tip revision: a5e13c6
datagram.h
/* SPDX-License-Identifier: GPL-2.0 */

#ifndef _NET_CORE_DATAGRAM_H_
#define _NET_CORE_DATAGRAM_H_

#include <linux/types.h>

struct sock;
struct sk_buff;
struct iov_iter;

int __zerocopy_sg_from_iter(struct sock *sk, struct sk_buff *skb,
			    struct iov_iter *from, size_t length);

#endif /* _NET_CORE_DATAGRAM_H_ */
back to top