kernels/linux-2.4.0/include/linux/skbuff.h
/**
 *	skb_trim - remove end from a buffer
 *	@skb: buffer to alter
 *	@len: new length
 *
 *	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.
 */
remove end from a buffer
@skb: buffer to alter
@len: new length

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.
remove end from a buffer @skb : buffer to alter @len : new length 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 .
static inline void skb_trim(struct sk_buff *skb, unsigned int len)
{
	if (skb->len > len) {
		__skb_trim(skb, len);
	}
}
static inline void skb_trim ( struct sk_buff * skb , unsigned int len ) { if ( skb -> len > len ) { __skb_trim ( skb , len ) ; } }
skb_trim - remove end from a buffer
      @skb: buffer to alter
      @len: new length
skb_trim - remove end from a buffer @skb : buffer to alter @len : new length