1SKB_COPY_BITS(9)               Linux Networking               SKB_COPY_BITS(9)
2
3
4

NAME

6       skb_copy_bits - copy bits from skb to kernel buffer
7

SYNOPSIS

9       int skb_copy_bits(const struct sk_buff * skb, int offset, void * to,
10                         int len);
11

ARGUMENTS

13       skb
14           source skb
15
16       offset
17           offset in source
18
19       to
20           destination buffer
21
22       len
23           number of bytes to copy
24

DESCRIPTION

26       Copy the specified number of bytes from the source skb to the
27       destination buffer.
28
29       CAUTION ! : If its prototype is ever changed, check arch/{*}/net/{*}.S
30       files, since it is called from BPF assembly code.
31
33Kernel Hackers Manual 3.10         June 2019                  SKB_COPY_BITS(9)
Impressum