table of contents
other versions
SKB_TRIM(9) | Linux Networking | SKB_TRIM(9) |
NAME¶
skb_trim - remove end from a buffer
SYNOPSIS¶
void skb_trim(struct sk_buff * skb, unsigned int len);
ARGUMENTS¶
struct sk_buff * skb
buffer to alter
unsigned int len
new length
DESCRIPTION¶
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.
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |