NDN-DPDK
High-Speed Named Data Networking Forwarder
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
window.c File Reference
#include "window.h"

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...
 

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.