 |
Index for Section 9 |
|
 |
Alphabetical listing for I |
|
 |
Bottom of page |
|
IF_DEQUEUE(9r)
NAME
IF_DEQUEUE - Network: Removes an entry from the output queue
SYNOPSIS
#include <net/if.h>
IF_DEQUEUE(
struct ifqueue *ifq,
struct mbuf *m );
ARGUMENTS
ifq Specifies a pointer to an ifqueue data structure. This data structure
represents the output queue. Typically, a network driver's start
interface references this queue through the if_snd member of the ifnet
structure pointer.
m Specifies a pointer to an mbuf data structure. This data structure
contains the memory buffer information that IF_DEQUEUE() manipulates.
DESCRIPTION
The IF_DEQUEUE() routine removes an entry from the front of the output
queue. Specifically, IF_DEQUEUE() performs the following tasks:
· Performs a simple lock on the entry in the queue.
· Removes the entry from the queue by operating on various members of
the ifqueue and mbuf structures. You do not need to understand the
details of these operations.
· Unlocks the simple lock on the entry in the queue.
NOTES
You should raise the IPL to mask all LAN hardware interrupts by calling
splimp() prior to calling the IF_DEQUEUE() routine.
RETURN VALUES
None
FILES
<if.h>
SEE ALSO
Routines: IF_ENQUEUE(9r), IF_PREPEND(9r)
 |
Index for Section 9 |
|
 |
Alphabetical listing for I |
|
 |
Top of page |
|