suricata
source-dpdk.h File Reference
#include "suricata-common.h"
Include dependency graph for source-dpdk.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  DPDKWorkerSync_
 
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_IRQ_MODE   (1 << 2)
 
#define DPDK_RX_CHECKSUM_OFFLOAD   (1 << 4)
 

Typedefs

typedef struct DPDKWorkerSync_ DPDKWorkerSync
 
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 DPDKSetTimevalOfMachineStart (void)
 
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 36 of file source-dpdk.h.

◆ DPDK_IRQ_MODE

#define DPDK_IRQ_MODE   (1 << 2)

Interrupt mode

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

◆ DPDK_MULTICAST

#define DPDK_MULTICAST   (1 << 1)

Enable multicast packets

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

◆ DPDK_PROMISC

#define DPDK_PROMISC   (1 << 0)

Promiscuous mode

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

◆ DPDK_RX_CHECKSUM_OFFLOAD

#define DPDK_RX_CHECKSUM_OFFLOAD   (1 << 4)

Enable chsum offload

Definition at line 44 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

◆ DPDKWorkerSync

Enumeration Type Documentation

◆ DpdkCopyModeEnum

Enumerator
DPDK_COPY_MODE_NONE 
DPDK_COPY_MODE_TAP 
DPDK_COPY_MODE_IPS 

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

Function Documentation

◆ DPDKSetTimevalOfMachineStart()

void DPDKSetTimevalOfMachineStart ( void  )