Scroll to navigation

ALLOC_SKB_WITH_FRAGS(9) Linux Networking ALLOC_SKB_WITH_FRAGS(9)

NAME

alloc_skb_with_frags - allocate skb with page frags

SYNOPSIS

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

-- undescribed --

data_len

-- undescribed --

max_page_order

-- undescribed --

errcode

-- undescribed --

gfp_mask

-- undescribed --

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

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

COPYRIGHT

June 2023 Kernel Hackers Manual 3.10