1SKB_PUT_PADTO(9) Linux Networking SKB_PUT_PADTO(9)
2
3
4
6 skb_put_padto - increase size and pad an skbuff up to a minimal size
7
9 int skb_put_padto(struct sk_buff * skb, unsigned int len);
10
12 skb
13 buffer to pad
14
15 len
16 minimal length
17
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_PUT_PADTO(9)