K2.6 patches and update.
[tomato.git] / release / src-rt / wl / nas / nas_radius.h
blob9c37f7f1e3f2457cbe73152f4253262347944e02
1 /*
2 * Radius support for Network Access Server
3 * Copyright (C) 2010, Broadcom Corporation
4 * All Rights Reserved.
5 *
6 * This is UNPUBLISHED PROPRIETARY SOURCE CODE of Broadcom Corporation;
7 * the contents of this file may not be disclosed to third parties, copied
8 * or duplicated in any form, in whole or in part, without the prior
9 * written permission of Broadcom Corporation.
10 * $Id: nas_radius.h 241388 2011-02-18 03:33:22Z stakita $
12 #if !defined(_NAS_RADIUS_H_)
13 #define _NAS_RADIUS_H_
15 #ifdef NAS_RADIUS
16 extern void radius_forward(nas_t *nas, nas_sta_t *sta, eap_header_t *eap);
17 extern void radius_dispatch(nas_t *nas, radius_header_t *response);
19 #define RADIUS_FORWARD(nas, sta, eap) radius_forward(nas, sta, eap)
20 #define RADIUS_DISPATCH(nas, radius) radius_dispatch(nas, radius)
22 #else
24 #define RADIUS_FORWARD(nas, sta, eap)
25 #define RADIUS_DISPATCH(nas, radius)
26 #endif /* NAS_RADIUS */
28 #endif /* !defined(_NAS_RADIUS_H_) */