1SKB_TRIM(9) Linux Networking SKB_TRIM(9)
23
4
NAME
6skb_trim - remove end from a buffer
7
SYNOPSIS
9void skb_trim(struct sk_buff * skb, unsigned int len);
10
ARGUMENTS
12skb
13buffer to alter
1415
len
16new length
17
DESCRIPTION
19Cut the length of a buffer down by removing data from the tail. If the
20buffer is already under the length specified it is not modified. The
21skb must be linear.
22
COPYRIGHT
24Kernel Hackers Manual 2.6. June 2019 SKB_TRIM(9)