suricata
source-dpdk.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  DPDKIfaceConfig_
 
struct  DPDKPacketVars_
 per packet DPDK vars More...
 

Macros

#define DPDK_BURST_TX_WAIT_US   1
 
#define DPDK_PROMISC   (1 << 0)
 
#define DPDK_MULTICAST   (1 << 1)
 
#define DPDK_RX_CHECKSUM_OFFLOAD   (1 << 4)
 

Typedefs

typedef struct DPDKIfaceConfig_ DPDKIfaceConfig
 
typedef struct DPDKPacketVars_ DPDKPacketVars
 per packet DPDK vars More...
 

Enumerations

enum  DpdkCopyModeEnum { DPDK_COPY_MODE_NONE, DPDK_COPY_MODE_TAP, DPDK_COPY_MODE_IPS }
 

Functions

void TmModuleReceiveDPDKRegister (void)
 
void TmModuleDecodeDPDKRegister (void)
 Registration Function for DecodeDPDK. More...
 

Detailed Description

Macro Definition Documentation

◆ DPDK_BURST_TX_WAIT_US

#define DPDK_BURST_TX_WAIT_US   1

Definition at line 34 of file source-dpdk.h.

◆ DPDK_MULTICAST

#define DPDK_MULTICAST   (1 << 1)

Enable multicast packets

Definition at line 39 of file source-dpdk.h.

◆ DPDK_PROMISC

#define DPDK_PROMISC   (1 << 0)

Promiscuous mode

Definition at line 38 of file source-dpdk.h.

◆ DPDK_RX_CHECKSUM_OFFLOAD

#define DPDK_RX_CHECKSUM_OFFLOAD   (1 << 4)

Enable chsum offload

Definition at line 41 of file source-dpdk.h.

Typedef Documentation

◆ DPDKIfaceConfig

◆ DPDKPacketVars

per packet DPDK vars

This structure is used by the release data system and for IPS

Enumeration Type Documentation

◆ DpdkCopyModeEnum

Enumerator
DPDK_COPY_MODE_NONE 
DPDK_COPY_MODE_TAP 
DPDK_COPY_MODE_IPS 

Definition at line 31 of file source-dpdk.h.