skb_pad9
Zero pad the tail of an skb
Usage
int skb_pad(struct sk_buff * skb, int pad);
Arguments
skb
buffer to pad
pad
space to pad
Overview
Ensure that a buffer is followed by a padding area that is zero filled. Used by network drivers which may DMA or transfer data beyond the buffer end onto the wire.
May return error in out of memory cases. The skb is freed on error.
Releases
6 releases since Debian 4.0 (Etch); the text changed 5 times.