Name
skb_copy_bits —
copy bits from skb to kernel buffer
Synopsis
int skb_copy_bits ( | const struct sk_buff * skb, |
| int offset, |
| void * to, |
| int len) ; |
Arguments
const struct sk_buff * skb
source skb
int offset
offset in source
void * to
destination buffer
int 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.