ndn-lite
Macros
Forwarder Errors
Collaboration diagram for Forwarder Errors:

Macros

#define NDN_FWD_NO_EFFECT   -50
 The operation has no effect. More...
 
#define NDN_FWD_FACE_TABLE_FULL   -51
 The FaceTable is full. More...
 
#define NDN_FWD_PIT_FULL   -52
 The PIT is full. More...
 
#define NDN_FWD_FIB_FULL   -53
 The FIB is full. More...
 
#define NDN_FWD_INVALID_FACE   -54
 The face has a wrong ID. More...
 
#define NDN_FWD_INTEREST_REJECTED   -55
 The Interest is rejected. More...
 
#define NDN_FWD_NO_ROUTE   -56
 No route to forward a specified packet. More...
 
#define NDN_FWD_MSGQUEUE_FULL   -57
 The message queue is full. More...
 

Detailed Description

Macro Definition Documentation

◆ NDN_FWD_FACE_TABLE_FULL

#define NDN_FWD_FACE_TABLE_FULL   -51

The FaceTable is full.

◆ NDN_FWD_FIB_FULL

#define NDN_FWD_FIB_FULL   -53

The FIB is full.

◆ NDN_FWD_INTEREST_REJECTED

#define NDN_FWD_INTEREST_REJECTED   -55

The Interest is rejected.

  • The Interest has a same nonce as previous one, indicating a routing loop.
  • The Interest's hop limit comes to 0.
    Note
    Different from NFD, NDN-Lite only records one nonce. Thus, not all routing loop can be avoided.

◆ NDN_FWD_INVALID_FACE

#define NDN_FWD_INVALID_FACE   -54

The face has a wrong ID.

◆ NDN_FWD_MSGQUEUE_FULL

#define NDN_FWD_MSGQUEUE_FULL   -57

The message queue is full.

◆ NDN_FWD_NO_EFFECT

#define NDN_FWD_NO_EFFECT   -50

The operation has no effect.

◆ NDN_FWD_NO_ROUTE

#define NDN_FWD_NO_ROUTE   -56

No route to forward a specified packet.

The incoming face doesn't count.

◆ NDN_FWD_PIT_FULL

#define NDN_FWD_PIT_FULL   -52

The PIT is full.