radius_client.h File Reference

hostapd / RADIUS client More...

#include "ip_addr.h"
Include dependency graph for radius_client.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  hostapd_radius_server
struct  hostapd_radius_servers

Enumerations

enum  RadiusType { RADIUS_AUTH, RADIUS_ACCT, RADIUS_ACCT_INTERIM }
enum  RadiusRxResult { RADIUS_RX_PROCESSED, RADIUS_RX_QUEUED, RADIUS_RX_UNKNOWN, RADIUS_RX_INVALID_AUTHENTICATOR }

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.h.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

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