SKB_ZEROCOPY(9) Linux Networking SKB_ZEROCOPY(9)
NAME
skb_zerocopy - Zero copy skb to skb
SYNOPSIS
void skb_zerocopy(struct sk_buff * to, const struct sk_buff * from, int len, int hlen);
ARGUMENTS
to
destination buffer
from
-- undescribed --
len
number of bytes to copy from source buffer
hlen
size of linear headroom in destination buffer
DESCRIPTION
Copies up to `len` bytes from `from` to `to` by creating references to the frags in the source buffer.
The `hlen` as calculated by skb_zerocopy_headlen specifies the headroom in the `to` buffer.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 SKB_ZEROCOPY(9)