FD.io VPP  v18.01-8-g0eacf49
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

#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 93 of file libmemif.h.

#define MEMIF_FD_EVENT_ERROR   (1 << 2)

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

inform libmemif that error occured on fd

Definition at line 91 of file libmemif.h.

#define MEMIF_FD_EVENT_MOD   (1 << 4)

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

update events

Definition at line 95 of file libmemif.h.

#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 88 of file libmemif.h.

#define MEMIF_FD_EVENT_WRITE   (1 << 1)

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

Definition at line 89 of file libmemif.h.