---
name: "skb_tailroom_reserve"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/skb_tailroom_reserve"
---

# skb\_tailroom\_reserve(9)

adjust reserved\_tailroom

## 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
