aboutsummaryrefslogtreecommitdiff
path: root/lib/libradius/radlib_private.h
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>2002-05-07 10:47:18 +0000
committerBrian Somers <brian@FreeBSD.org>2002-05-07 10:47:18 +0000
commitb49a88f653a15db686443f7aa32a601ee04dc2d1 (patch)
treed6f3a7566b3d1a1b7c9ed2829623c43ae6ceff87 /lib/libradius/radlib_private.h
parentbf1eaec5e867f4e02723ddd55458792f7b16cd63 (diff)
downloadsrc-b49a88f653a15db686443f7aa32a601ee04dc2d1.tar.gz
src-b49a88f653a15db686443f7aa32a601ee04dc2d1.zip
Add support for vendor specific RADIUS extensions.
Only the extensions from rfc2548 are specified for now.
Notes
Notes: svn path=/head/; revision=96154
Diffstat (limited to 'lib/libradius/radlib_private.h')
-rw-r--r--lib/libradius/radlib_private.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libradius/radlib_private.h b/lib/libradius/radlib_private.h
index af169704bdbf..251c1bdec200 100644
--- a/lib/libradius/radlib_private.h
+++ b/lib/libradius/radlib_private.h
@@ -33,6 +33,7 @@
#include <netinet/in.h>
#include "radlib.h"
+#include "radlib_vs.h"
/* Handle types */
#define RADIUS_AUTH 0 /* RADIUS authentication, default */
@@ -89,4 +90,11 @@ struct rad_handle {
int type; /* Handle type */
};
+struct vendor_attribute {
+ u_int32_t vendor_value;
+ u_char attrib_type;
+ u_char attrib_len;
+ u_char attrib_data[1];
+};
+
#endif