Rechercher une page de manuel
skb_padto
Langue: en
Version: June 2009 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
NAME
skb_padto - pad an skbuff up to a minimal sizeSYNOPSIS
- int skb_padto(struct sk_buff * skb, unsigned int len);
ARGUMENTS
skb
- buffer 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
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre