---
name: "skb_store_bits"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/skb_store_bits"
---

# skb\_store\_bits(9)

store bits from kernel buffer to skb

## 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

*skb*

destination buffer

*offset*

offset in destination

*from*

source buffer

*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
