Scroll to navigation

SKB_TAILROOM_RESERVE(9) Linux Networking SKB_TAILROOM_RESERVE(9)

NAME

skb_tailroom_reserve - adjust reserved_tailroom

SYNOPSIS

void skb_tailroom_reserve(struct sk_buff * skb, unsigned int mtu, unsigned int needed_tailroom);

ARGUMENTS

struct sk_buff * skb
buffer to alter

unsigned int mtu

maximum amount of headlen permitted

unsigned int needed_tailroom

minimum amount of reserved_tailroom

DESCRIPTION

Set reserved_tailroom so that headlen can be as large as possible but not larger than mtu and tailroom cannot be smaller than needed_tailroom. The required headroom should already have been reserved before using this function.

COPYRIGHT

July 2017 Kernel Hackers Manual 4.11