skb_peek (9) - Linux Man Pages
skb_peek: peek at the head of an sk_buff_head
skb_peek - peek at the head of an sk_buff_head
struct sk_buff * skb_peek(const struct sk_buff_head
- list to peek at
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.