skb_fill_page_desc(9)

skb_fill_page_desc9

Initialise a paged fragment in an skb

Usage

void skb_fill_page_desc(struct sk_buff * skb, int i, struct page * page, int off, int size);

Arguments

skb

buffer containing fragment to be initialised

i

paged fragment index to initialise

page

the page to use for this fragment

off

the offset to the data with page

size

the length of the data

Overview

As per __skb_fill_page_desc -- initialises the i'th fragment of skb to point to size bytes at offset off within page. In addition updates skb such that i is the last fragment.

Does not take any additional reference on the fragment.

Releases

3 releases since Debian 7 (Wheezy); the text changed 2 times.

  1. 7
  2. 8
  3. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.