carta
skb_put_padto(9)

skb_put_padto9

Increase size and pad an skbuff up to a minimal size

Arguments

skb

buffer to pad

len

minimal length

Overview

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.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.