table of contents
other versions
- wheezy-backports 3.16.39-1+deb8u1~bpo70+1
- jessie 3.16.43-2
SKB_PADTO(9) | Linux Networking | SKB_PADTO(9) |
NAME¶
skb_padto - pad an skbuff up to a minimal sizeSYNOPSIS¶
int
skb_padto(struct sk_buff * skb,
unsigned int len);
ARGUMENTS¶
skbbuffer to pad
len
minimal length
DESCRIPTION¶
Pads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error.COPYRIGHT¶
February 2017 | Kernel Hackers Manual 3.16 |