1SKB_TRIM(9)                    Linux Networking                    SKB_TRIM(9)
2
3
4

NAME

6       skb_trim - remove end from a buffer
7

SYNOPSIS

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

ARGUMENTS

12       skb
13           buffer to alter
14
15       len
16           new length
17

DESCRIPTION

19       Cut the length of a buffer down by removing data from the tail. If the
20       buffer is already under the length specified it is not modified. The
21       skb must be linear.
22
24Kernel Hackers Manual 3.10         June 2019                       SKB_TRIM(9)
Impressum