alloc_skb_with_frags(9)

alloc_skb_with_frags9

Allocate skb with page frags

Usage

struct sk_buff * alloc_skb_with_frags(unsigned long header_len, unsigned long data_len, int max_page_order, int * errcode, gfp_t gfp_mask);

Arguments

header_len

size of linear part

data_len

needed length in frags

max_page_order

max page order desired.

errcode

pointer to error code if any

gfp_mask

allocation mask

Overview

This can be used to allocate a paged skb, given a maximal order for frags.

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