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

NAME

6       skb_peek_tail - peek at the tail of an sk_buff_head
7

SYNOPSIS

9       struct sk_buff * skb_peek_tail(const struct sk_buff_head * list_);
10

ARGUMENTS

12       list_
13           list to peek at
14

DESCRIPTION

16       Peek an sk_buff. Unlike most other operations you _MUST_ be careful
17       with this one. A peek leaves the buffer on the list and someone else
18       may run off with it. You must hold the appropriate locks or have a
19       private queue to do this.
20
21       Returns NULL for an empty list or a pointer to the tail element. The
22       reference count is not incremented and the reference is therefore
23       volatile. Use with caution.
24
26Kernel Hackers Manual 3.10         June 2019                  SKB_PEEK_TAIL(9)
Impressum