FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
daq_vpp.h File Reference
+ Include dependency graph for daq_vpp.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  daq_vpp_msg_hello_t
 
struct  daq_vpp_msg_config_t
 
struct  daq_vpp_msg_bpool_t
 
struct  daq_vpp_msg_qpair_t
 
struct  daq_vpp_msg_t
 
struct  daq_vpp_desc_t
 

Macros

#define DAQ_VPP_DEFAULT_SOCKET_FILE   "snort.sock"
 
#define DAQ_VPP_DEFAULT_SOCKET_PATH   "/run/vpp/" DAQ_VPP_DEFAULT_SOCKET_FILE
 
#define DAQ_VPP_INST_NAME_LEN   32
 

Typedefs

typedef enum memif_msg_type daq_vpp_msg_type_t
 

Enumerations

enum  memif_msg_type {
  MEMIF_MSG_TYPE_NONE = 0, MEMIF_MSG_TYPE_ACK = 1, MEMIF_MSG_TYPE_HELLO = 2, MEMIF_MSG_TYPE_INIT = 3,
  MEMIF_MSG_TYPE_ADD_REGION = 4, MEMIF_MSG_TYPE_ADD_RING = 5, MEMIF_MSG_TYPE_CONNECT = 6, MEMIF_MSG_TYPE_CONNECTED = 7,
  MEMIF_MSG_TYPE_DISCONNECT = 8, DAQ_VPP_MSG_TYPE_NONE = 0, DAQ_VPP_MSG_TYPE_HELLO = 1, DAQ_VPP_MSG_TYPE_CONFIG = 2,
  DAQ_VPP_MSG_TYPE_BPOOL = 3, DAQ_VPP_MSG_TYPE_QPAIR = 4, MEMIF_MSG_TYPE_NONE = 0, MEMIF_MSG_TYPE_ACK = 1,
  MEMIF_MSG_TYPE_HELLO = 2, MEMIF_MSG_TYPE_INIT = 3, MEMIF_MSG_TYPE_ADD_REGION = 4, MEMIF_MSG_TYPE_ADD_RING = 5,
  MEMIF_MSG_TYPE_CONNECT = 6, MEMIF_MSG_TYPE_CONNECTED = 7, MEMIF_MSG_TYPE_DISCONNECT = 8
}
 
enum  daq_vpp_action_t { DAQ_VPP_ACTION_DROP, DAQ_VPP_ACTION_FORWARD }
 

Macro Definition Documentation

◆ DAQ_VPP_DEFAULT_SOCKET_FILE

#define DAQ_VPP_DEFAULT_SOCKET_FILE   "snort.sock"

Definition at line 10 of file daq_vpp.h.

◆ DAQ_VPP_DEFAULT_SOCKET_PATH

#define DAQ_VPP_DEFAULT_SOCKET_PATH   "/run/vpp/" DAQ_VPP_DEFAULT_SOCKET_FILE

Definition at line 11 of file daq_vpp.h.

◆ DAQ_VPP_INST_NAME_LEN

#define DAQ_VPP_INST_NAME_LEN   32

Definition at line 12 of file daq_vpp.h.

Typedef Documentation

◆ daq_vpp_msg_type_t

Enumeration Type Documentation

◆ daq_vpp_action_t

Enumerator
DAQ_VPP_ACTION_DROP 
DAQ_VPP_ACTION_FORWARD 

Definition at line 62 of file daq_vpp.h.

◆ memif_msg_type

Enumerator
MEMIF_MSG_TYPE_NONE 
MEMIF_MSG_TYPE_ACK 
MEMIF_MSG_TYPE_HELLO 
MEMIF_MSG_TYPE_INIT 
MEMIF_MSG_TYPE_ADD_REGION 
MEMIF_MSG_TYPE_ADD_RING 
MEMIF_MSG_TYPE_CONNECT 
MEMIF_MSG_TYPE_CONNECTED 
MEMIF_MSG_TYPE_DISCONNECT 
DAQ_VPP_MSG_TYPE_NONE 
DAQ_VPP_MSG_TYPE_HELLO 
DAQ_VPP_MSG_TYPE_CONFIG 
DAQ_VPP_MSG_TYPE_BPOOL 
DAQ_VPP_MSG_TYPE_QPAIR 
MEMIF_MSG_TYPE_NONE 
MEMIF_MSG_TYPE_ACK 
MEMIF_MSG_TYPE_HELLO 
MEMIF_MSG_TYPE_INIT 
MEMIF_MSG_TYPE_ADD_REGION 
MEMIF_MSG_TYPE_ADD_RING 
MEMIF_MSG_TYPE_CONNECT 
MEMIF_MSG_TYPE_CONNECTED 
MEMIF_MSG_TYPE_DISCONNECT 

Definition at line 14 of file daq_vpp.h.