suricata
AFPPacketVars_ Struct Reference

per packet AF_PACKET vars More...

#include <source-af-packet.h>

Collaboration diagram for AFPPacketVars_:

Data Fields

void * relptr
 
AFPPeerpeer
 
AFPPeermpeer
 
uint8_t copy_mode
 
int v4_map_fd
 
int v6_map_fd
 

Detailed Description

per packet AF_PACKET vars

This structure is used y the release data system and is cleaned up by the AFPV_CLEANUP macro below.

Definition at line 129 of file source-af-packet.h.

Field Documentation

uint8_t AFPPacketVars_::copy_mode

Definition at line 137 of file source-af-packet.h.

AFPPeer* AFPPacketVars_::mpeer

Pointer to AFPPeer used for capture. Field is used to be able to do reference counting.

Definition at line 136 of file source-af-packet.h.

AFPPeer* AFPPacketVars_::peer

Sending peer for IPS/TAP mode

Definition at line 132 of file source-af-packet.h.

void* AFPPacketVars_::relptr

Definition at line 131 of file source-af-packet.h.

int AFPPacketVars_::v4_map_fd

Definition at line 138 of file source-af-packet.h.

int AFPPacketVars_::v6_map_fd

Definition at line 139 of file source-af-packet.h.


The documentation for this struct was generated from the following file: