centos man page for skb_peek

Query: skb_peek

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SKB_PEEK(9)							 Linux Networking						       SKB_PEEK(9)

NAME
skb_peek - peek at the head of an sk_buff_head
SYNOPSIS
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
Kernel Hackers Manual 3.10 June 2014 SKB_PEEK(9)
Related Man Pages
__skb_recv_datagram(9) - centos
struct_sk_buff(9) - suse
queue(n) - suse
queue(9s) - php
queue(3) - minix
Similar Topics in the Unix Linux Community
Outage: Network Attack (Treason Uncloaked!) - Probable Cause