1. NAME▲

skb_trim - remove end from a buffer

2. SYNOPSIS ▲

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

3. ARGUMENTS ▲

skb
    buffer to alter

len
    new length

4. 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.

5. COPYRIGHT ▲