Rechercher une page de manuel
skb_cow
Langue: en
Version: June 2009 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
NAME
skb_cow - copy header of skb when it is requiredSYNOPSIS
- int skb_cow(struct sk_buff * skb, unsigned int headroom);
ARGUMENTS
skb
- buffer to cow
headroom
- needed headroom
DESCRIPTION
If the skb passed lacks sufficient headroom or its data part is shared, data is reallocated. If reallocation fails, an error is returned and original skb is not changed.
The result is skb with writable area skb->head...skb->tail and at least headroom of space at head.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre