NDN-DPDK
High-Speed Named Data Networking Forwarder
Loading...
Searching...
No Matches
window.c File Reference
#include "window.h"

Functions

void FetchWindow_Init (FetchWindow *win, uint32_t capacity, int numaSocket)
 Initialize FetchWindow.
void FetchWindow_Free (FetchWindow *win)
 Deallocated memory.
void FetchWindow_Reset (FetchWindow *win, uint64_t firstSegNum)
 Delete all records and set first segment number.
void FetchWindow_Advance_ (FetchWindow *win)
 Move loPos and loSegNum after some segment states have been deleted.

Function Documentation

◆ FetchWindow_Advance_()

void FetchWindow_Advance_ ( FetchWindow * win)

Move loPos and loSegNum after some segment states have been deleted.

◆ FetchWindow_Free()

void FetchWindow_Free ( FetchWindow * win)

Deallocated memory.

◆ FetchWindow_Init()

void FetchWindow_Init ( FetchWindow * win,
uint32_t capacity,
int numaSocket )

Initialize FetchWindow.

Parameters
capacitymaximum distance between lower and upper bounds of segment numbers.

◆ FetchWindow_Reset()

void FetchWindow_Reset ( FetchWindow * win,
uint64_t firstSegNum )

Delete all records and set first segment number.