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

skb

buffer to alter

mtu

maximum amount of headlen permitted

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

June 2024 Kernel Hackers Manual 3.10