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

MAC connection info structure. More...

#include <mac_mapper.h>

Data Fields

enum AP_CONNECTION_STATUS status
 
int vlanid
 
bool nat
 
bool allow_connection
 
uint8_t pass [AP_SECRET_LEN]
 
ssize_t pass_len
 
char ip_addr [OS_INET_ADDRSTRLEN]
 
char ip_sec_addr [OS_INET_ADDRSTRLEN]
 
char ifname [IF_NAMESIZE]
 
char label [MAX_DEVICE_LABEL_SIZE]
 
char id [MAX_RANDOM_UUID_LEN]
 
uint64_t join_timestamp
 

Detailed Description

MAC connection info structure.

MAC device = Device with a given MAC address

Field Documentation

◆ allow_connection

bool mac_conn_info::allow_connection

If set allows the MAC device to connect ot the network

◆ id

char mac_conn_info::id[MAX_RANDOM_UUID_LEN]

The MAC device ID

◆ ifname

char mac_conn_info::ifname[IF_NAMESIZE]

WiFi subnet interface assigned to the MAC device

◆ ip_addr

char mac_conn_info::ip_addr[OS_INET_ADDRSTRLEN]

IP address assigned to the MAC device

◆ ip_sec_addr

char mac_conn_info::ip_sec_addr[OS_INET_ADDRSTRLEN]

The secondary IP address assigned to the MAC device

◆ join_timestamp

uint64_t mac_conn_info::join_timestamp

The MAC device AP join timestamp

◆ label

char mac_conn_info::label[MAX_DEVICE_LABEL_SIZE]

The MAC device label

◆ nat

bool mac_conn_info::nat

Flag if set assigns NAT to the MAC device

◆ pass

uint8_t mac_conn_info::pass[AP_SECRET_LEN]

WiFi password assigned to the MAC devices

◆ pass_len

ssize_t mac_conn_info::pass_len

WiFi password length assigned to the MAC devices

◆ status

enum AP_CONNECTION_STATUS mac_conn_info::status

The MAC Connection status

◆ vlanid

int mac_conn_info::vlanid

VLAN ID assigned to the MAC device


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