Microchip® Advanced Software Framework

packetqueue_item Struct Reference

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 queuebufbuf
 
struct ctimer lifetimer
 
struct packetqueue_itemnext
 
void * ptr
 
struct packetqueuequeue
 

struct ctimer packetqueue_item::lifetimer
struct packetqueue_item* packetqueue_item::next
void* packetqueue_item::ptr
struct packetqueue* packetqueue_item::queue