aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/skbuff.h
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2013-08-06 05:45:04 -0400
committerDavid S. Miller <davem@davemloft.net>2013-08-07 19:52:34 -0400
commitc3bdeb5c7cc073ccf5ff9624642022a8613a956e (patch)
tree59dd31538e9da9d5adecbc9c96d7d8a1aa0aa50d /include/linux/skbuff.h
parentb4bf07771faaf959b0a916d35b1b930c030e30a8 (diff)
net: move zerocopy_sg_from_iovec() to net/core/datagram.c
To let it be reused and reduce code duplication. Also document this function. Signed-off-by: Jason Wang <jasowang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/skbuff.h')
-rw-r--r--include/linux/skbuff.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index ae46475d4568..5ac96f31d546 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -2359,6 +2359,10 @@ extern int skb_copy_datagram_from_iovec(struct sk_buff *skb,
2359 const struct iovec *from, 2359 const struct iovec *from,
2360 int from_offset, 2360 int from_offset,
2361 int len); 2361 int len);
2362extern int zerocopy_sg_from_iovec(struct sk_buff *skb,
2363 const struct iovec *frm,
2364 int offset,
2365 size_t count);
2362extern int skb_copy_datagram_const_iovec(const struct sk_buff *from, 2366extern int skb_copy_datagram_const_iovec(const struct sk_buff *from,
2363 int offset, 2367 int offset,
2364 const struct iovec *to, 2368 const struct iovec *to,