aboutsummaryrefslogtreecommitdiffstats
path: root/src/radius/radius_das.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2014-02-20 11:55:36 (GMT)
committerJouni Malinen <j@w1.fi>2014-02-20 11:55:36 (GMT)
commitcb10c7d12de503e453b0a198a5a0beb1226fe60f (patch)
tree1ef36bcbda334abf969bd2a459470440f6b6e875 /src/radius/radius_das.h
parente58f59cb5817036dfeef1077ffec125bd3ab281f (diff)
downloadhostap-cb10c7d12de503e453b0a198a5a0beb1226fe60f.zip
hostap-cb10c7d12de503e453b0a198a5a0beb1226fe60f.tar.gz
hostap-cb10c7d12de503e453b0a198a5a0beb1226fe60f.tar.bz2
RADIUS DAS: Add support for NAS identification attributes
This allows NAS-IP-Address, NAS-Identifier, and NAS-IPv6-Address to be included in the Disconnect-Request packets. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/radius/radius_das.h')
-rw-r--r--src/radius/radius_das.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/radius/radius_das.h b/src/radius/radius_das.h
index 738b18b..e3ed540 100644
--- a/src/radius/radius_das.h
+++ b/src/radius/radius_das.h
@@ -18,6 +18,13 @@ enum radius_das_res {
};
struct radius_das_attrs {
+ /* NAS identification attributes */
+ const u8 *nas_ip_addr;
+ const u8 *nas_identifier;
+ size_t nas_identifier_len;
+ const u8 *nas_ipv6_addr;
+
+ /* Session identification attributes */
const u8 *sta_addr;
const u8 *user_name;
size_t user_name_len;