NDN-DPDK
High-Speed Named Data Networking Forwarder
Loading...
Searching...
No Matches
pit-result.h File Reference
#include "pcc-entry.h"

Go to the source code of this file.

Data Structures

struct  PitInsertResult
 Result of PIT insert. More...
struct  PitFindResult
 Result of PIT find. More...

Typedefs

typedef enum __rte_packed_begin PitInsertResultKind PitInsertResultKind
 Result kind of PIT insert.
typedef struct PitInsertResult PitInsertResult
 Result of PIT insert.
typedef enum __rte_packed_begin PitFindResultFlag PitFindResultFlag
 Result flag of PIT find, bitwise OR.
typedef struct PitFindResult PitFindResult
 Result of PIT find.

Variables

 PIT_INSERT_FULL = 0
 PIT is full, cannot insert.
 PIT_INSERT_PIT = 1
 created or found PIT entry
 PIT_INSERT_CS = 2
 found existing CS entry that matches the Interest
 PIT_FIND_NONE = 0
 no PIT match
 PIT_FIND_PIT0 = RTE_BIT32(0)
 matched PIT entry of MustBeFresh=0
 PIT_FIND_PIT1 = RTE_BIT32(1)
 matched PIT entry of MustBeFresh=1
 PIT_FIND_NEED_DIGEST = RTE_BIT32(2)

Typedef Documentation

◆ PitFindResult

typedef struct PitFindResult PitFindResult

Result of PIT find.

◆ PitFindResultFlag

enum __rte_packed_begin PitFindResultFlag

Result flag of PIT find, bitwise OR.

◆ PitInsertResult

typedef struct PitInsertResult PitInsertResult

Result of PIT insert.

◆ PitInsertResultKind

enum __rte_packed_begin PitInsertResultKind

Result kind of PIT insert.

Variable Documentation

◆ PIT_FIND_NEED_DIGEST

PIT_FIND_NEED_DIGEST = RTE_BIT32(2)

need Data digest to determine match, PccEntry is set on PitInsertResult, PIT_FIND_PIT0 and PIT_FIND_PIT1 indicate existence of PIT entries.

◆ PIT_FIND_NONE

PIT_FIND_NONE = 0

no PIT match

◆ PIT_FIND_PIT0

PIT_FIND_PIT0 = RTE_BIT32(0)

matched PIT entry of MustBeFresh=0

◆ PIT_FIND_PIT1

PIT_FIND_PIT1 = RTE_BIT32(1)

matched PIT entry of MustBeFresh=1

◆ PIT_INSERT_CS

PIT_INSERT_CS = 2

found existing CS entry that matches the Interest

◆ PIT_INSERT_FULL

PIT_INSERT_FULL = 0

PIT is full, cannot insert.

◆ PIT_INSERT_PIT

PIT_INSERT_PIT = 1

created or found PIT entry