|
NDN-DPDK
High-Speed Named Data Networking Forwarder
|
Functions | |
| N_LOG_INIT (Cs) | |
| uint32_t | Cs_GetCapacity (Cs *cs, CsListID l) |
| Get capacity in number of entries. More... | |
| uint32_t | Cs_CountEntries (Cs *cs, CsListID l) |
| Get number of entries. More... | |
| void | Cs_Insert (Cs *cs, Packet *npkt, PitFindResult pitFound) |
| Insert a CS entry. More... | |
| CsEntry * | Cs_MatchInterest (Cs *cs, CsEntry *entry, Packet *interestNpkt) |
| Determine whether the CS entry matches an Interest during PIT insertion. More... | |
| void | Cs_Erase (Cs *cs, CsEntry *entry) |
| Erase a CS entry. More... | |
| void Cs_Insert | ( | Cs * | cs, |
| Packet * | npkt, | ||
| PitFindResult | pitFound | ||
| ) |
Insert a CS entry.
| npkt | the Data packet. CS takes ownership. |
| pitFound | result of Pit_FindByData that contains PIT entries satisfied by this Data; its kind must not be PIT_FIND_NONE. |
pitFound are removed. Determine whether the CS entry matches an Interest during PIT insertion.
| entry | the CS entry, possibly indirect. |
| N_LOG_INIT | ( | Cs | ) |