FD.io VPP  v19.08.1-401-g8e4ed521a
Vector Packet Processing
Types of events that need to be watched for specific fd.
+ Collaboration diagram for Types of events that need to be watched for specific fd.:

Macros

#define MEMIF_FD_EVENT_READ   (1 << 0)
 user needs to set events that occured on fd and pass them to memif_control_fd_handler More...
 
#define MEMIF_FD_EVENT_WRITE   (1 << 1)
 
#define MEMIF_FD_EVENT_ERROR   (1 << 2)
 inform libmemif that error occured on fd More...
 
#define MEMIF_FD_EVENT_DEL   (1 << 3)
 if set, informs that fd is going to be closed (user may want to stop watching for events on this fd) More...
 
#define MEMIF_FD_EVENT_MOD   (1 << 4)
 update events More...
 

Detailed Description

Macro Definition Documentation

◆ MEMIF_FD_EVENT_DEL

#define MEMIF_FD_EVENT_DEL   (1 << 3)

#include <extras/libmemif/src/libmemif.h>

if set, informs that fd is going to be closed (user may want to stop watching for events on this fd)

Definition at line 94 of file libmemif.h.

◆ MEMIF_FD_EVENT_ERROR

#define MEMIF_FD_EVENT_ERROR   (1 << 2)

#include <extras/libmemif/src/libmemif.h>

inform libmemif that error occured on fd

Definition at line 92 of file libmemif.h.

◆ MEMIF_FD_EVENT_MOD

#define MEMIF_FD_EVENT_MOD   (1 << 4)

#include <extras/libmemif/src/libmemif.h>

update events

Definition at line 96 of file libmemif.h.

◆ MEMIF_FD_EVENT_READ

#define MEMIF_FD_EVENT_READ   (1 << 0)

#include <extras/libmemif/src/libmemif.h>

user needs to set events that occured on fd and pass them to memif_control_fd_handler

Definition at line 89 of file libmemif.h.

◆ MEMIF_FD_EVENT_WRITE

#define MEMIF_FD_EVENT_WRITE   (1 << 1)

#include <extras/libmemif/src/libmemif.h>

Definition at line 90 of file libmemif.h.