|
EDGESEC
0.1.0-alpha.0+sha.ca29a8277b72f80785649ea9ef9cd7edf642d939
Secure router - reference implementation
|
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] |
The capture configuration structure.
| 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.)
| char capture_conf::capture_db_path[MAX_OS_PATH_LEN] |
Specifies the path to the sqlite3 dbs
| char capture_conf::filter[MAX_FILTER_SIZE] |
Specifies the filter expression or pcap lib
| 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.
| char capture_conf::middleware_params[MAX_MIDDLEWARE_PARAMS_SIZE] |
Specifies the middleware params string
| 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