radius_client.c File Reference

Host AP (software wireless LAN access point) user space daemon for Host AP kernel driver / RADIUS client. More...

#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <time.h>
#include <sys/types.h>
#include <sys/time.h>
#include <errno.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include "hostapd.h"
#include "radius.h"
#include "radius_client.h"
#include "eloop.h"

Include dependency graph for radius_client.c:

Go to the source code of this file.

Defines

#define RADIUS_CLIENT_FIRST_WAIT   3
#define RADIUS_CLIENT_MAX_WAIT   120
#define RADIUS_CLIENT_MAX_RETRIES   10
#define RADIUS_CLIENT_MAX_ENTRIES   30
#define RADIUS_CLIENT_NUM_FAILOVER   4

Functions

int radius_client_register (struct radius_client_data *radius, RadiusType msg_type, RadiusRxResult(*handler)(struct radius_msg *msg, struct radius_msg *req, u8 *shared_secret, size_t shared_secret_len, void *data), void *data)
int radius_client_send (struct radius_client_data *radius, struct radius_msg *msg, RadiusType msg_type, u8 *addr)
u8 radius_client_get_id (struct radius_client_data *radius)
void radius_client_flush (struct radius_client_data *radius)
radius_client_data * radius_client_init (void *ctx, struct hostapd_radius_servers *conf)
void radius_client_deinit (struct radius_client_data *radius)
void radius_client_flush_auth (struct radius_client_data *radius, u8 *addr)
int radius_client_get_mib (struct radius_client_data *radius, char *buf, size_t buflen)


Detailed Description

Host AP (software wireless LAN access point) user space daemon for Host AP kernel driver / RADIUS client.

Copyright
Copyright (c) 2002-2005, Jouni Malinen <[email protected]>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

Alternatively, this software may be distributed under the terms of BSD license.

See README and COPYING for more details.

Definition in file radius_client.c.


Generated on Sat May 6 21:18:37 2006 for wpa_supplicant by  doxygen 1.4.2