NDN-DPDK
High-Speed Named Data Networking Forwarder
|
#include "../core/mintmr.h"
Go to the source code of this file.
Data Structures | |
struct | FetchSeg |
Per-segment state. More... | |
struct | FetchWindow |
Window of segment states. More... | |
Typedefs | |
typedef struct FetchSeg | FetchSeg |
Per-segment state. More... | |
typedef struct FetchWindow | FetchWindow |
Window of segment states. More... | |
Enumerations | |
enum | { FetchSegTxTimeBits = 56 , FetchSegTxTimeMask = ((uint64_t)1 << FetchSegTxTimeBits) - 1 } |
Functions | |
void | FetchWindow_Init (FetchWindow *win, uint32_t capacity, int numaSocket) |
Initialize FetchWindow. More... | |
void | FetchWindow_Free (FetchWindow *win) |
Deallocated memory. More... | |
void | FetchWindow_Reset (FetchWindow *win, uint64_t firstSegNum) |
Delete all records and set first segment number. More... | |
void | FetchWindow_Advance_ (FetchWindow *win) |
Move loPos and loSegNum after some segment states have been deleted. More... | |
typedef struct FetchWindow FetchWindow |
Window of segment states.
void FetchWindow_Advance_ | ( | FetchWindow * | win | ) |
Move loPos and loSegNum after some segment states have been deleted.
void FetchWindow_Free | ( | FetchWindow * | win | ) |
Deallocated memory.
void FetchWindow_Init | ( | FetchWindow * | win, |
uint32_t | capacity, | ||
int | numaSocket | ||
) |
Initialize FetchWindow.
capacity | maximum distance between lower and upper bounds of segment numbers. |
void FetchWindow_Reset | ( | FetchWindow * | win, |
uint64_t | firstSegNum | ||
) |
Delete all records and set first segment number.