AM64x MCU+ SDK  10.00.00
enet_queue.h File Reference

Introduction

This file contains the type definitions and helper macros for the Enet software queue.

Go to the source code of this file.

Data Structures

struct  EnetQ_Node
 A generic node structure for a single link list. More...
 
struct  EnetQ
 Generic queue. More...
 

Functions

void EnetQueue_initQ (EnetQ *queue)
 Init queue. More...
 
void EnetQueue_copyQ (EnetQ *dstQueue, const EnetQ *srcQueue)
 Copy queues. More...
 
void EnetQueue_enq (EnetQ *queue, EnetQ_Node *node)
 Enqueue a packet into the queue. More...
 
void EnetQueue_enqHead (EnetQ *queue, EnetQ_Node *node)
 Enqueue a packet at head into the queue. More...
 
EnetQ_NodeEnetQueue_deq (EnetQ *queue)
 Dequeue a packet from the queue. More...
 
void EnetQueue_append (EnetQ *dstQueue, EnetQ *srcQueue)
 Append queue. More...
 
uint32_t EnetQueue_getQCount (EnetQ *queue)
 Get queue count. More...
 
void EnetQueue_verifyQCount (EnetQ *queue)
 Checks queue corruption. More...