dev_queue_xmit man page on OpenSuSE

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

DEV_QUEUE_XMIT(9)	    Network device support	     DEV_QUEUE_XMIT(9)

NAME
       dev_queue_xmit - transmit a buffer

SYNOPSIS
       int dev_queue_xmit(struct sk_buff * skb);

ARGUMENTS
       skb
	   buffer to transmit

DESCRIPTION
       Queue a buffer for transmission to a network device. The caller must
       have set the device and priority and built the buffer before calling
       this function. The function can be called from an interrupt.

       A negative errno code is returned on a failure. A success does not
       guarantee the frame will be transmitted as it may be dropped due to
       congestion or traffic shaping.

       -----------------------------------------------------------------------------------
       I notice this method can also return errors from the queue disciplines,
       including NET_XMIT_DROP, which is a positive value. So, errors can also
       be positive.

       Regardless of the return value, the skb is consumed, so it is currently
       difficult to retry a send to this method. (You can bump the ref count
       before sending to hold a reference for retry if you are careful.)

       When calling this method, interrupts MUST be enabled. This is because
       the BH enable code must have IRQs enabled so that it will not deadlock.
       --BLG

COPYRIGHT
Kernel Hackers Manual 3.11	 November 2013		     DEV_QUEUE_XMIT(9)
[top]

List of man pages available for OpenSuSE

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