EDGESEC  0.1.0-alpha.0+sha.ca29a8277b72f80785649ea9ef9cd7edf642d939
Secure router - reference implementation
radius_config.h
Go to the documentation of this file.
1 
11 #ifndef RADIUS_CONFIG_H
12 #define RADIUS_CONFIG_H
13 
14 #include "../utils/net.h"
15 #include "../utils/os.h"
16 
17 #define RADIUS_SECRET_LEN 255
18 
23 struct radius_conf {
30 };
31 
32 typedef struct mac_conn_info (*mac_conn_fn)(uint8_t mac_addr[],
33  void *mac_conn_arg);
34 #endif
#define OS_INET_ADDRSTRLEN
Definition: net.h:25
#define RADIUS_SECRET_LEN
Definition: radius_config.h:17
struct mac_conn_info(* mac_conn_fn)(uint8_t mac_addr[], void *mac_conn_arg)
Definition: radius_config.h:32
MAC connection info structure.
Definition: mac_mapper.h:34
Radius configuration structure.
Definition: radius_config.h:23
char radius_server_ip[OS_INET_ADDRSTRLEN]
Definition: radius_config.h:27
char radius_client_ip[OS_INET_ADDRSTRLEN]
Definition: radius_config.h:25
int radius_server_mask
Definition: radius_config.h:28
int radius_client_mask
Definition: radius_config.h:26
int radius_port
Definition: radius_config.h:24
char radius_secret[RADIUS_SECRET_LEN]
Definition: radius_config.h:29