table of contents
other versions
- jessie-backports 4.9.88-1+deb9u1~bpo8+1
- stretch 4.9.144-3
SKB_PEEK(9) | Linux Networking | SKB_PEEK(9) |
NAME¶
skb_peek - peek at the head of an sk_buff_headSYNOPSIS¶
struct sk_buff *
skb_peek(const struct sk_buff_head * list_);
ARGUMENTS¶
list_list to peek at
DESCRIPTION¶
Peek an sk_buff. Unlike most other operations you _MUST_ be careful with this one. A peek leaves the buffer on the list and someone else may run off with it. You must hold the appropriate locks or have a private queue to do this. Returns NULL for an empty list or a pointer to the head element. The reference count is not incremented and the reference is therefore volatile. Use with caution.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 4.9. |