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

Supervisor structure definition. More...

#include <supervisor_config.h>

Collaboration diagram for supervisor_context:
[legend]

Data Fields

struct fwctxfw_ctx
 
hmap_mac_connmac_mapper
 
hmap_if_connif_mapper
 
hmap_vlan_connvlan_mapper
 
hmap_str_keycharhmap_bin_paths
 
bool allow_all_connections
 
bool allow_all_nat
 
bool exec_capture
 
uint8_t wpa_passphrase [AP_SECRET_LEN]
 
ssize_t wpa_passphrase_len
 
char nat_bridge [IF_NAMESIZE]
 
char nat_interface [IF_NAMESIZE]
 
bool allocate_vlans
 
int default_open_vlanid
 
UT_array * config_ifinfo_array
 
UT_array * subscribers_array
 
struct bridge_mac_listbridge_list
 
int domain_sock
 
int udp_sock
 
struct firewall_conf firewall_config
 
struct capture_conf capture_config
 
struct apconf hconfig
 
struct dhcp_conf dconfig
 
struct dns_conf nconfig
 
struct mdns_conf mconfig
 
struct radius_conf rconfig
 
sqlite3 * macconn_db
 
struct radius_server_dataradius_srv
 
struct crypt_contextcrypt_ctx
 
struct iface_contextiface_ctx
 
struct auth_ticketticket
 
int ap_sock
 
struct eloop_data * eloop
 

Detailed Description

Supervisor structure definition.

Field Documentation

◆ allocate_vlans

bool supervisor_context::allocate_vlans

allocate_vlans from struct app_config

◆ allow_all_connections

bool supervisor_context::allow_all_connections

allow_all_connections Flag from struct app_config

◆ allow_all_nat

bool supervisor_context::allow_all_nat

allow_all_nat Flag from struct app_config

◆ ap_sock

int supervisor_context::ap_sock

The AP notifier socket.

◆ bridge_list

struct bridge_mac_list* supervisor_context::bridge_list

List of assigned bridges

◆ capture_config

struct capture_conf supervisor_context::capture_config

Capture service configuration.

◆ config_ifinfo_array

UT_array* supervisor_context::config_ifinfo_array

config_ifinfo_array from struct app_config

◆ crypt_ctx

struct crypt_context* supervisor_context::crypt_ctx

The crypt context.

◆ dconfig

struct dhcp_conf supervisor_context::dconfig

DHCP service configuration.

◆ default_open_vlanid

int supervisor_context::default_open_vlanid

default_open_vlanid from struct app_config

◆ domain_sock

int supervisor_context::domain_sock

The control server domain socket

◆ eloop

struct eloop_data* supervisor_context::eloop

The main eloop context.

◆ exec_capture

bool supervisor_context::exec_capture

execute_capture from struct app_config

◆ firewall_config

struct firewall_conf supervisor_context::firewall_config

Firewall service configuration.

◆ fw_ctx

struct fwctx* supervisor_context::fw_ctx

The firewall context.

◆ hconfig

struct apconf supervisor_context::hconfig

AP service configuration.

◆ hmap_bin_paths

hmap_str_keychar* supervisor_context::hmap_bin_paths

Mapper for paths to systems binaries

◆ if_mapper

hmap_if_conn* supervisor_context::if_mapper

WiFi subnet to interface mapper

◆ iface_ctx

struct iface_context* supervisor_context::iface_ctx

The interface context.

◆ mac_mapper

hmap_mac_conn* supervisor_context::mac_mapper

MAC mapper connection structure

◆ macconn_db

sqlite3* supervisor_context::macconn_db

The macconn db structure.

◆ mconfig

struct mdns_conf supervisor_context::mconfig

DNS service configuration.

◆ nat_bridge

char supervisor_context::nat_bridge[IF_NAMESIZE]

nat_bridge param from struct app_config

◆ nat_interface

char supervisor_context::nat_interface[IF_NAMESIZE]

nat_interface param from struct app_config

◆ nconfig

struct dns_conf supervisor_context::nconfig

DNS service configuration.

◆ radius_srv

struct radius_server_data* supervisor_context::radius_srv

The radius server context.

◆ rconfig

struct radius_conf supervisor_context::rconfig

Radius service configuration.

◆ subscribers_array

UT_array* supervisor_context::subscribers_array

The array of events subscribers

◆ ticket

struct auth_ticket* supervisor_context::ticket

The authentication ticket.

◆ udp_sock

int supervisor_context::udp_sock

The control server udp socket

◆ vlan_mapper

hmap_vlan_conn* supervisor_context::vlan_mapper

WiFi VLAN to interface mapper

◆ wpa_passphrase

uint8_t supervisor_context::wpa_passphrase[AP_SECRET_LEN]

wpa_passphrase from struct hostapd_conf

◆ wpa_passphrase_len

ssize_t supervisor_context::wpa_passphrase_len

the length of wpa_passphrase


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