comparison extensions/app_radgw/radius.h @ 516:1c2f5ee38039

Allow RADIUS Proxies with the app_radgw extension
author Sebastien Decugis <sdecugis@nict.go.jp>
date Fri, 27 Aug 2010 10:59:51 +0900
parents a857024cb48b
children 4c935aecee6c
comparison
equal deleted inserted replaced
515:b9167b4de7dc 516:1c2f5ee38039
1 /*********************************************************************************/ 1 /*********************************************************************************/
2 /* freeDiameter author note: 2 /* freeDiameter author note:
3 * The content from this file comes directly from the hostap project. 3 * The content from this file comes directly from the hostap project.
4 * It is redistributed under the terms of the BSD license, as allowed 4 * It is redistributed under the terms of the BSD license, as allowed
5 * by the original copyright reproduced bellow. 5 * by the original copyright reproduced bellow.
6 * The file has not been modified, except for this notice. 6 * The file has not been modified, except for this notice and
7 * declaration of:
8 * void radius_msg_dump_attr_val(struct radius_attr_hdr *hdr);
7 */ 9 */
10
8 /*********************************************************************************/ 11 /*********************************************************************************/
9 12
10 /* 13 /*
11 * hostapd / RADIUS message processing 14 * hostapd / RADIUS message processing
12 * Copyright (c) 2002-2007, Jouni Malinen <j@w1.fi> 15 * Copyright (c) 2002-2007, Jouni Malinen <j@w1.fi>
213 216
214 struct radius_msg *radius_msg_new(u8 code, u8 identifier); 217 struct radius_msg *radius_msg_new(u8 code, u8 identifier);
215 int radius_msg_initialize(struct radius_msg *msg, size_t init_len); 218 int radius_msg_initialize(struct radius_msg *msg, size_t init_len);
216 void radius_msg_set_hdr(struct radius_msg *msg, u8 code, u8 identifier); 219 void radius_msg_set_hdr(struct radius_msg *msg, u8 code, u8 identifier);
217 void radius_msg_free(struct radius_msg *msg); 220 void radius_msg_free(struct radius_msg *msg);
221 void radius_msg_dump_attr_val(struct radius_attr_hdr *hdr);
218 void radius_msg_dump(struct radius_msg *msg); 222 void radius_msg_dump(struct radius_msg *msg);
219 int radius_msg_finish(struct radius_msg *msg, const u8 *secret, 223 int radius_msg_finish(struct radius_msg *msg, const u8 *secret,
220 size_t secret_len); 224 size_t secret_len);
221 int radius_msg_finish_srv(struct radius_msg *msg, const u8 *secret, 225 int radius_msg_finish_srv(struct radius_msg *msg, const u8 *secret,
222 size_t secret_len, const u8 *req_authenticator); 226 size_t secret_len, const u8 *req_authenticator);
"Welcome to our mercurial repository"