|
NDN-DPDK
High-Speed Named Data Networking Forwarder
|
#include "cs-entry.h"Go to the source code of this file.
Typedefs | |
| typedef void(* | CsList_EvictCb) (CsEntry *entry, uintptr_t ctx) |
Functions | |
| void | CsList_Init (CsList *csl) |
| uint32_t | CsList_EvictBulk (CsList *csl, uint32_t max, CsList_EvictCb cb, uintptr_t ctx) |
Evict up to max entries from front of list. More... | |
| typedef void(* CsList_EvictCb) (CsEntry *entry, uintptr_t ctx) |
| uint32_t CsList_EvictBulk | ( | CsList * | csl, |
| uint32_t | max, | ||
| CsList_EvictCb | cb, | ||
| uintptr_t | ctx | ||
| ) |
Evict up to max entries from front of list.
| cb | callback to erase an entry; the callback must not invoke CsList_Remove. |
| void CsList_Init | ( | CsList * | csl | ) |