ClearBox Server™ v1.2 Developer's Guide

RADIUS_ATTRIBUTE

Describes RADIUS attribute.

struct RADIUS_ATTRIBUTE {
	unsigned char type;
	ATTRIBVALTYPE valType;
	long dwValue;
	unsigned char strSize;
	unsigned char * strValue;
	BSTR txtValue;
	unsigned char tag;
	unsigned long vendorID;
	unsigned long vendorType;
	unsigned long flags;
};

Members

type
Type of RADIUS attribute.
valType
Type of value of the attribute. Must be set by server extension explicitly when is passed to the server.
dwValue
Attribute value as an integer. It is used when valType=RADINT, valType=RADIP or valType=RADDATE only.
strSize
Size in bytes of buffer pointed by strValue. It is used when valType=RADSTR only.
strValue
Attribute value as a byte string (array of bytes). It is used when valType=RADSTR only. Must be allocated with CoTaskMemAlloc. ASCII strings must be allocated without terminating zero byte.
txtValue
Attribute value as a human readable UNICODE text string. It is used when valType=RADTXT only. Must be allocated With SysAllocString* functions.
tag
Tag value. It is used when flags field has F_TAGGED bit set to provide a means of grouping attributes in the same packet (primarily, in tunneling attributes).
vendorID
Vendor ID (for attribute-specific attributes, type=26). It is ignored when type is not equal to 26.
vendorType
Vendor-specific attribute type (for attribute-specific attributes, type=26). Is ignored when type is not equal to 26.
flags
Flags of the attribute. Can be a combination of different flag values. Must be set by server extension explicitly when is passed to the server.

See Also

RADIUS attributes, List of some atandard RADIUS attributes


© 2001-2003 XPerience Technologies. www.xperiencetech.com

Created by chm2web html help conversion utility.