2012-05-06 15:02:42 -04:00
|
|
|
/*
|
|
|
|
* RADIUS Dynamic Authorization Server (DAS)
|
|
|
|
* Copyright (c) 2012, Jouni Malinen <j@w1.fi>
|
|
|
|
*
|
|
|
|
* This software may be distributed under the terms of the BSD license.
|
|
|
|
* See README for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef RADIUS_DAS_H
|
|
|
|
#define RADIUS_DAS_H
|
|
|
|
|
|
|
|
struct radius_das_data;
|
|
|
|
|
|
|
|
struct radius_das_conf {
|
|
|
|
int port;
|
|
|
|
const u8 *shared_secret;
|
|
|
|
size_t shared_secret_len;
|
|
|
|
const struct hostapd_ip_addr *client_addr;
|
2012-06-17 10:43:36 -04:00
|
|
|
unsigned int time_window;
|
|
|
|
int require_event_timestamp;
|
2012-05-06 15:02:42 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
struct radius_das_data *
|
|
|
|
radius_das_init(struct radius_das_conf *conf);
|
|
|
|
|
|
|
|
void radius_das_deinit(struct radius_das_data *data);
|
|
|
|
|
|
|
|
#endif /* RADIUS_DAS_H */
|