diff options
author | Hannes Frederic Sowa <hannes@stressinduktion.org> | 2015-05-21 16:59:58 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-25 00:06:58 -0400 |
commit | be12a1fe298e8be04d5215364f94654dff81b0bc (patch) | |
tree | 46d7ade56605d55a306c400ab54fed896ec63361 /include/linux | |
parent | d98c3edcbbbfae903f138edd7855544cd8d09bc2 (diff) | |
download | linux-rpi3-be12a1fe298e8be04d5215364f94654dff81b0bc.tar.gz linux-rpi3-be12a1fe298e8be04d5215364f94654dff81b0bc.tar.bz2 linux-rpi3-be12a1fe298e8be04d5215364f94654dff81b0bc.zip |
net: skbuff: add skb_append_pagefrags and use it
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/skbuff.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index b617095adb88..f708936cdd23 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h @@ -861,6 +861,9 @@ int skb_append_datato_frags(struct sock *sk, struct sk_buff *skb, int len, int odd, struct sk_buff *skb), void *from, int length); +int skb_append_pagefrags(struct sk_buff *skb, struct page *page, + int offset, size_t size); + struct skb_seq_state { __u32 lower_offset; __u32 upper_offset; |