EDGESEC  0.1.0-alpha.0+sha.ca29a8277b72f80785649ea9ef9cd7edf642d939
Secure router - reference implementation
Data Fields
capture_conf Struct Reference

The capture configuration structure. More...

#include <capture_config.h>

Data Fields

bool promiscuous
 
bool immediate
 
uint32_t buffer_timeout
 
char capture_db_path [MAX_OS_PATH_LEN]
 
char filter [MAX_FILTER_SIZE]
 
char middleware_params [MAX_MIDDLEWARE_PARAMS_SIZE]
 

Detailed Description

The capture configuration structure.

Field Documentation

◆ buffer_timeout

uint32_t capture_conf::buffer_timeout

Specifies the packet buffer timeout, as a non-negative value, in milliseconds. (See pcap(3PCAP) for an explanation of the packet buffer timeout.)

◆ capture_db_path

char capture_conf::capture_db_path[MAX_OS_PATH_LEN]

Specifies the path to the sqlite3 dbs

◆ filter

char capture_conf::filter[MAX_FILTER_SIZE]

Specifies the filter expression or pcap lib

◆ immediate

bool capture_conf::immediate

Sets whether immediate mode should be set on a capture handle when the handle is activated. If immediate param is non-zero, immediate mode will be set, otherwise it will not be set.

◆ middleware_params

char capture_conf::middleware_params[MAX_MIDDLEWARE_PARAMS_SIZE]

Specifies the middleware params string

◆ promiscuous

bool capture_conf::promiscuous

Specifies whether the interface is to be put into promiscuous mode. If promiscuous param is non-zero, promiscuous mode will be set, otherwise it will not be set


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