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>
This commit is contained in:

committed by
David S. Miller

parent
d98c3edcbb
commit
be12a1fe29
@@ -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;
|
||||
|
Reference in New Issue
Block a user