table of contents
other versions
- stretch 4.9.168-1
SKB_COPY_BITS(9) | Linux Networking | SKB_COPY_BITS(9) |
NAME¶
skb_copy_bits - copy bits from skb to kernel bufferSYNOPSIS¶
int skb_copy_bits(const struct sk_buff * skb, int offset, void * to, int len);
ARGUMENTS¶
skbsource skb
offset
offset in source
to
destination buffer
len
number of bytes to copy
DESCRIPTION¶
Copy the specified number of bytes from the source skb to the destination buffer.CAUTION ! : If its prototype is ever changed, check arch/{*}/net/{*}.S files, since it is called from BPF assembly code.
COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |