dev_queue_xmit

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.