EDGESEC
0.1.0-alpha.0+sha.ca29a8277b72f80785649ea9ef9cd7edf642d939
Secure router - reference implementation
|
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 |
MAC connection info structure.
MAC device = Device with a given MAC address
bool mac_conn_info::allow_connection |
If set allows the MAC device to connect ot the network
char mac_conn_info::id[MAX_RANDOM_UUID_LEN] |
The MAC device ID
char mac_conn_info::ifname[IF_NAMESIZE] |
WiFi subnet interface assigned to the MAC device
char mac_conn_info::ip_addr[OS_INET_ADDRSTRLEN] |
IP address assigned to the MAC device
char mac_conn_info::ip_sec_addr[OS_INET_ADDRSTRLEN] |
The secondary IP address assigned to the MAC device
uint64_t mac_conn_info::join_timestamp |
The MAC device AP join timestamp
char mac_conn_info::label[MAX_DEVICE_LABEL_SIZE] |
The MAC device label
bool mac_conn_info::nat |
Flag if set assigns NAT to the MAC device
uint8_t mac_conn_info::pass[AP_SECRET_LEN] |
WiFi password assigned to the MAC devices
ssize_t mac_conn_info::pass_len |
WiFi password length assigned to the MAC devices
enum AP_CONNECTION_STATUS mac_conn_info::status |
The MAC Connection status
int mac_conn_info::vlanid |
VLAN ID assigned to the MAC device