skb_trim(9)

skb_trim9

Remove end from a buffer

Usage

void skb_trim(struct sk_buff * skb, unsigned int len);

Arguments

skb

buffer to alter

len

new length

Overview

Cut the length of a buffer down by removing data from the tail. If the buffer is already under the length specified it is not modified. The skb must be linear.

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.