radius_client.c File Reference

hostapd / RADIUS client More...

#include "includes.h"
#include "common.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.

Data Structures

struct  radius_rx_handler
struct  radius_msg_list
struct  radius_client_data

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, const 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, const u8 *addr)
u8 radius_client_get_id (struct radius_client_data *radius)
void radius_client_flush (struct radius_client_data *radius, int only_auth)
struct radius_client_dataradius_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)
struct radius_client_dataradius_client_reconfig (struct radius_client_data *old, void *ctx, struct hostapd_radius_servers *oldconf, struct hostapd_radius_servers *newconf)

Detailed Description

hostapd / RADIUS client

Copyright
Copyright (c) 2002-2005, Jouni Malinen <j@w1.fi>

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.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on Sat Nov 21 23:22:09 2009 for hostapd by  doxygen 1.6.1