1SKB_PADTO(9)                   Linux Networking                   SKB_PADTO(9)
2
3
4

NAME

6       skb_padto - pad an skbuff up to a minimal size
7

SYNOPSIS

9       int skb_padto(struct sk_buff * skb, unsigned int len);
10

ARGUMENTS

12       skb
13           buffer to pad
14
15       len
16           minimal length
17

DESCRIPTION

19       Pads up a buffer to ensure the trailing bytes exist and are blanked. If
20       the buffer already contains sufficient data it is untouched. Otherwise
21       it is extended. Returns zero on success. The skb is freed on error.
22
24Kernel Hackers Manual 3.10         June 2019                      SKB_PADTO(9)
Impressum