Representation of an item in a packet queue.
This structure holds the state of a packet queue. It is an opaque structure with no user-visible elements. The function packetqueue_queuebuf() is used to extract a queubuf from the item. The function packetqueue_ptr() is used to extract the opaque pointer that was registered with the packetqueue_enqueue_packetbuf() function.
#include <packetqueue.h>
Data Fields | |
struct queuebuf * | buf |
struct ctimer | lifetimer |
struct packetqueue_item * | next |
void * | ptr |
struct packetqueue * | queue |
struct queuebuf* packetqueue_item::buf |
Referenced by packetqueue_dequeue(), packetqueue_enqueue_packetbuf(), packetqueue_queuebuf(), and remove_queued_packet().
struct ctimer packetqueue_item::lifetimer |
Referenced by packetqueue_dequeue(), packetqueue_enqueue_packetbuf(), and remove_queued_packet().
struct packetqueue_item* packetqueue_item::next |
void* packetqueue_item::ptr |
Referenced by packetqueue_enqueue_packetbuf(), and packetqueue_ptr().
struct packetqueue* packetqueue_item::queue |
Referenced by packetqueue_enqueue_packetbuf(), and remove_queued_packet().