#include "interest.h"
#include "lp.h"
Go to the source code of this file.
|
| typedef struct PNack | PNack |
| | Parsed Nack packet.
|
◆ PNack
| typedef struct PNack PNack |
◆ Nack_FromInterest()
Turn an Interest into a Nack.
- Parameters
-
| npkt | a packet of type PktInterest or PktSInterest . Its first segment must be a uniquely owned direct mbuf. |
- Return values
-
- Returns
- Nack packet. It may be different from
npkt .
- Precondition
- PktType is
PktInterest or PktSInterest .
- Postcondition
- PktType is
PktSNack .
◆ NackReason_ToString()
| const char * NackReason_ToString |
( |
NackReason | reason | ) |
|