NDN-DPDK
High-Speed Named Data Networking Forwarder
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros | Functions
pcc-entry.c File Reference
#include "pcc-entry.h"
#include "pcct.h"

Macros

#define AssignSlot(s)
 

Functions

PccSlotIndex PccEntry_AllocateSlot_ (PccEntry *entry, PccSlot **slot)
 
PccSlotIndex PccEntry_ClearSlot_ (PccEntry *entry, PccSlotIndex slot)
 

Macro Definition Documentation

◆ AssignSlot

#define AssignSlot (   s)
Value:
do { \
POISON(&s); \
(s).pccEntry = entry; \
*slot = &(s); \
} while (false)

Function Documentation

◆ PccEntry_AllocateSlot_()

PccSlotIndex PccEntry_AllocateSlot_ ( PccEntry entry,
PccSlot **  slot 
)

◆ PccEntry_ClearSlot_()

PccSlotIndex PccEntry_ClearSlot_ ( PccEntry entry,
PccSlotIndex  slot 
)