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

unsigned long header_len

size of linear part

unsigned long data_len

needed length in frags

int max_page_order

max page order desired.

int * errcode

pointer to error code if any

gfp_t gfp_mask

allocation mask

DESCRIPTION

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

COPYRIGHT

June 2017 Kernel Hackers Manual 4.11