Name

__skb_fill_page_desc — initialise a paged fragment in an skb

Synopsis

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

Arguments

struct sk_buff * skb

buffer containing fragment to be initialised

int i

paged fragment index to initialise

struct page * page

the page to use for this fragment

int off

the offset to the data with page

int size

the length of the data

Description

Initialises the i'th fragment of skb to point to &size bytes at offset off within page.

Does not take any additional reference on the fragment.