1SKB_RECYCLE_CHECK(9)           Linux Networking           SKB_RECYCLE_CHECK(9)
2
3
4

NAME

6       skb_recycle_check - check if skb can be reused for receive
7

SYNOPSIS

9       int skb_recycle_check(struct sk_buff * skb, int skb_size);
10

ARGUMENTS

12       skb
13           buffer
14
15       skb_size
16           minimum receive buffer size
17

DESCRIPTION

19       Checks that the skb passed in is not shared or cloned, and that it is
20       linear and its head portion at least as large as skb_size so that it
21       can be recycled as a receive buffer. If these conditions are met, this
22       function does any necessary reference count dropping and cleans up the
23       skbuff as if it just came from __alloc_skb.
24
26Kernel Hackers Manual 2.6.         June 2019              SKB_RECYCLE_CHECK(9)
Impressum