EDGESEC  0.1.0-alpha.0+sha.ca29a8277b72f80785649ea9ef9cd7edf642d939
Secure router - reference implementation
Functions
radius_service.h File Reference

File containing the definition of the radius service. More...

#include <eloop.h>
#include "../supervisor/supervisor.h"
#include "radius_config.h"
#include "radius_server.h"
Include dependency graph for radius_service.h:

Go to the source code of this file.

Functions

struct radius_server_datarun_radius (struct eloop_data *eloop, struct radius_conf *rconf, mac_conn_fn radius_callback_fn, void *radius_callback_args)
 Runs the radius service. More...
 
void close_radius (struct radius_server_data *srv)
 Closes the radius service. More...
 

Detailed Description

File containing the definition of the radius service.

Author
Alexandru Mereacre
Date
2021

Function Documentation

◆ close_radius()

void close_radius ( struct radius_server_data srv)

Closes the radius service.

Parameters
srvPointer to private RADIUS server context

◆ run_radius()

struct radius_server_data* run_radius ( struct eloop_data *  eloop,
struct radius_conf rconf,
mac_conn_fn  radius_callback_fn,
void *  radius_callback_args 
)

Runs the radius service.

Parameters
eloopThe eloop context
rconfThe radius config
radius_callback_fnThe radius callback function
radius_callback_argsThe Radius callback arguments
Returns
Pointer to private RADIUS server context or NULL on failure