NDN-DPDK
High-Speed Named Data Networking Forwarder
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Typedefs | Enumerations
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 PitInsertResultKind PitInsertResultKind
 Result kind of PIT insert. More...
 
typedef struct PitInsertResult PitInsertResult
 Result of PIT insert. More...
 
typedef enum PitFindResultFlag PitFindResultFlag
 Result flag of PIT find, bitwise OR. More...
 
typedef struct PitFindResult PitFindResult
 Result of PIT find. More...
 

Enumerations

enum  PitInsertResultKind { PIT_INSERT_FULL = 0 , PIT_INSERT_PIT = 1 , PIT_INSERT_CS = 2 }
 Result kind of PIT insert. More...
 
enum  PitFindResultFlag { PIT_FIND_NONE = 0 , PIT_FIND_PIT0 = RTE_BIT32(0) , PIT_FIND_PIT1 = RTE_BIT32(1) , PIT_FIND_NEED_DIGEST = RTE_BIT32(2) }
 Result flag of PIT find, bitwise OR. More...
 

Typedef Documentation

◆ PitFindResult

typedef struct PitFindResult PitFindResult

Result of PIT find.

◆ PitFindResultFlag

Result flag of PIT find, bitwise OR.

◆ PitInsertResult

Result of PIT insert.

◆ PitInsertResultKind

Result kind of PIT insert.

Enumeration Type Documentation

◆ PitFindResultFlag

Result flag of PIT find, bitwise OR.

Enumerator
PIT_FIND_NONE 

no PIT match

PIT_FIND_PIT0 

matched PIT entry of MustBeFresh=0

PIT_FIND_PIT1 

matched PIT entry of MustBeFresh=1

PIT_FIND_NEED_DIGEST 

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

◆ PitInsertResultKind

Result kind of PIT insert.

Enumerator
PIT_INSERT_FULL 

PIT is full, cannot insert.

PIT_INSERT_PIT 

created or found PIT entry

PIT_INSERT_CS 

found existing CS entry that matches the Interest