Query: skb_padto
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SKB_PADTO(9) Linux Networking SKB_PADTO(9)NAMEskb_padto - pad an skbuff up to a minimal sizeSYNOPSISint skb_padto(struct sk_buff * skb, unsigned int len);ARGUMENTSskb buffer to pad len minimal lengthDESCRIPTIONPads 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.COPYRIGHTKernel Hackers Manual 3.10 June 2014 SKB_PADTO(9)