Scroll to navigation

SKB_STORE_BITS(9) Linux Networking SKB_STORE_BITS(9)

NAME

skb_store_bits - store bits from kernel buffer to skb

SYNOPSIS

int skb_store_bits(struct sk_buff * skb, int offset, const void * from, int len);

ARGUMENTS

struct sk_buff * skb
destination buffer

int offset

offset in destination

const void * from

source buffer

int len

number of bytes to copy

DESCRIPTION

Copy the specified number of bytes from the source buffer to the destination skb. This function handles all the messy bits of traversing fragment lists and such.

COPYRIGHT

July 2017 Kernel Hackers Manual 4.11