NDN-DPDK
High-Speed Named Data Networking Forwarder
|
#include "../vendor/uthash-handle.h"
#include "cs-entry.h"
#include "pcc-key.h"
#include "pit-entry.h"
Go to the source code of this file.
Data Structures | |
union | PccSlot |
PCC entry slot. More... | |
struct | PccEntryExt |
PCC entry extension. More... | |
struct | PccEntry |
PIT-CS composite entry. More... | |
Typedefs | |
typedef struct PccEntry | PccEntry |
typedef union PccSlot | PccSlot |
PCC entry slot. More... | |
typedef enum PccSlotIndex | PccSlotIndex |
Identify a PCC entry slot. More... | |
typedef struct PccEntryExt | PccEntryExt |
PCC entry extension. More... | |
Enumerations | |
enum | { PccTokenSize = 6 , PccTokenBits = PccTokenSize * CHAR_BIT , PccTokenMask = ((uint64_t)1 << PccTokenBits) - 1 } |
enum | PccSlotIndex { PCC_SLOT_NONE = 0 , PCC_SLOT1 = 1 , PCC_SLOT2 = 2 , PCC_SLOT3 = 3 } |
Identify a PCC entry slot. More... | |
Functions | |
PccSlotIndex | PccEntry_AllocateSlot_ (PccEntry *entry, PccSlot **slot) |
PccSlotIndex | PccEntry_ClearSlot_ (PccEntry *entry, PccSlotIndex slot) |
typedef struct PccEntryExt PccEntryExt |
PCC entry extension.
It adds slot2 and slot3 to a PCC entry.
PCC entry slot.
Each slot has room for either a PIT entry or a CS entry.
typedef enum PccSlotIndex PccSlotIndex |
Identify a PCC entry slot.
enum PccSlotIndex |
PccSlotIndex PccEntry_AllocateSlot_ | ( | PccEntry * | entry, |
PccSlot ** | slot | ||
) |
PccSlotIndex PccEntry_ClearSlot_ | ( | PccEntry * | entry, |
PccSlotIndex | slot | ||
) |