skb_copy_datagram_from_iovec(9)

skb_copy_datagram_from_iovec9

Copy a datagram from an iovec.

Usage

int skb_copy_datagram_from_iovec(struct sk_buff * skb, int offset, const struct iovec * from, int from_offset, int len);

Arguments

skb

buffer to copy

offset

offset in the buffer to start copying to

from

io vector to copy to

from_offset

offset in the io vector to start copying from

len

amount of data to copy to buffer from iovec

Overview

Returns 0 or -EFAULT.

Note

the iovec is not modified during the copy.

Releases

3 releases since Debian 6.0 (Squeeze); the text changed 2 times.

  1. 6.0
  2. 7
  3. 8

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.