'\" t .\" Title: skb_store_bits .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Linux Networking .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "SKB_STORE_BITS" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Linux Networking" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" skb_store_bits \- store bits from kernel buffer to skb .SH "SYNOPSIS" .HP \w'int\ skb_store_bits('u .BI "int skb_store_bits(struct\ sk_buff\ *\ " "skb" ", int\ " "offset" ", const\ void\ *\ " "from" ", int\ " "len" ");" .SH "ARGUMENTS" .PP \fIskb\fR .RS 4 destination buffer .RE .PP \fIoffset\fR .RS 4 offset in destination .RE .PP \fIfrom\fR .RS 4 source buffer .RE .PP \fIlen\fR .RS 4 number of bytes to copy .RE .SH "DESCRIPTION" .PP 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\&. .SH "COPYRIGHT" .br