aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/skbuff.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/skbuff.h')
-rw-r--r--include/linux/skbuff.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index 74ed34413969..39ec7530ae27 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -21,6 +21,7 @@
21#include <linux/bug.h> 21#include <linux/bug.h>
22#include <linux/cache.h> 22#include <linux/cache.h>
23#include <linux/rbtree.h> 23#include <linux/rbtree.h>
24#include <linux/socket.h>
24 25
25#include <linux/atomic.h> 26#include <linux/atomic.h>
26#include <asm/types.h> 27#include <asm/types.h>
@@ -2639,6 +2640,11 @@ unsigned int datagram_poll(struct file *file, struct socket *sock,
2639 struct poll_table_struct *wait); 2640 struct poll_table_struct *wait);
2640int skb_copy_datagram_iovec(const struct sk_buff *from, int offset, 2641int skb_copy_datagram_iovec(const struct sk_buff *from, int offset,
2641 struct iovec *to, int size); 2642 struct iovec *to, int size);
2643static inline int skb_copy_datagram_msg(const struct sk_buff *from, int offset,
2644 struct msghdr *msg, int size)
2645{
2646 return skb_copy_datagram_iovec(from, offset, msg->msg_iov, size);
2647}
2642int skb_copy_and_csum_datagram_iovec(struct sk_buff *skb, int hlen, 2648int skb_copy_and_csum_datagram_iovec(struct sk_buff *skb, int hlen,
2643 struct iovec *iov); 2649 struct iovec *iov);
2644int skb_copy_datagram_from_iovec(struct sk_buff *skb, int offset, 2650int skb_copy_datagram_from_iovec(struct sk_buff *skb, int offset,