skb_peek man page on OpenMandriva

Man page or keyword search:  
man Server   8135 pages
apropos Keyword Search (all sections)
Output format
OpenMandriva logo
[printable version]

SKB_PEEK(9)		     Networking Functions		   SKB_PEEK(9)

NAME
       skb_peek - peek an sk_buff

SYNOPSIS
       #include <linux/skbuff.h>

       struct sk_buff *skb_peek(struct sk_buff_head *list_);

DESCRIPTION
       The skb_peek function extracts the head element of list_, without modi‐
       fying list_.  It is important to note that this is  not	necessarily  a
       safe  operation,	 as  list_  maintains  the original sk_buff, and other
       operations on list_ may effect it.  To be safe, either  disable	inter‐
       rupts using cli(9), call skb_peek, copy the data necessary to continue,
       and re-enable interrupts using sti(9), or use skb_dequeue(9).

RETURN VALUE
       Returns a pointer to sk_buff if there is a next element on  the	list_.
       Otherwise, returns NULL.

AVAILABILITY
       Linux 1.0+

SEE ALSO
       intro(9), skb_unlink(9), skb_dequeue(9)

       /usr/src/linux/net/appletalk/ddp.c   /usr/src/linux/net/core/datagram.c
       /usr/src/linux/net/ipv4/tcp.c		 /usr/src/linux/net/ipv4/udp.c
       /usr/src/linux/net/unix/af_unix.c

AUTHOR
       Cyrus Durgin <cider@speakeasy.org>

Linux DDI		       November 24, 1997		   SKB_PEEK(9)
[top]

List of man pages available for OpenMandriva

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net