EDGESEC
0.1.0-alpha.0+sha.ca29a8277b72f80785649ea9ef9cd7edf642d939
Secure router - reference implementation
|
File containing the implementation of the radius service. More...
#include <stdbool.h>
#include <errno.h>
#include <fcntl.h>
#include <libgen.h>
#include <signal.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>
#include <eloop.h>
#include "radius_server.h"
Functions | |
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. More... | |
void | close_radius (struct radius_server_data *srv) |
Closes the radius service. More... | |
File containing the implementation of the radius service.
void close_radius | ( | struct radius_server_data * | srv | ) |
Closes the radius service.
srv | Pointer to private RADIUS server context |
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.
eloop | The eloop context |
rconf | The radius config |
radius_callback_fn | The radius callback function |
radius_callback_args | The Radius callback arguments |