Rechercher une page de manuel
skb_recycle_check
Langue: en
Version: October 2010 (fedora - 01/12/10)
Section: 9 (Appels noyau Linux)
NAME
skb_recycle_check - check if skb can be reused for receiveSYNOPSIS
- bool skb_recycle_check(struct sk_buff * skb, int skb_size);
ARGUMENTS
skb
- buffer
skb_size
- minimum receive buffer size
DESCRIPTION
Checks that the skb passed in is not shared or cloned, and that it is linear and its head portion at least as large as skb_size so that it can be recycled as a receive buffer. If these conditions are met, this function does any necessary reference count dropping and cleans up the skbuff as if it just came from __alloc_skb.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre