typedef enum _RADIUS_ATTRIBUTE_TYPE {
ratMinimum = 0,
ratUserName = 1,
ratUserPassword = 2,
ratCHAPPassword = 3,
ratNASIPAddress = 4,
ratNASPort = 5,
ratServiceType = 6,
ratFramedProtocol = 7,
ratFramedIPAddress = 8,
ratFramedIPNetmask = 9,
ratFramedRouting = 10,
ratFilterId = 11,
ratFramedMTU = 12,
ratFramedCompression = 13,
ratLoginIPHost = 14,
ratLoginService = 15,
ratLoginTCPPort = 16,
ratUnassigned17 = 17,
ratReplyMessage = 18,
ratCallbackNumber = 19,
ratCallbackId = 20,
ratUnassigned21 = 21,
ratFramedRoute = 22,
ratFramedIPXNetwork = 23,
ratState = 24,
ratClass = 25,
ratVendorSpecific = 26,
ratSessionTimeout = 27,
ratIdleTimeout = 28,
ratTerminationAction = 29,
ratCalledStationId = 30,
ratCallingStationId = 31,
ratNASIdentifier = 32,
ratProxyState = 33,
ratLoginLATService = 34,
ratLoginLATNode = 35,
ratLoginLATGroup = 36,
ratFramedAppleTalkLink = 37,
ratFramedAppleTalkNetwork = 38,
ratFramedAppleTalkZone = 39,
ratAcctStatusType = 40,
ratAcctDelayTime = 41,
ratAcctInputOctets = 42,
ratAcctOutputOctets = 43,
ratAcctSessionId = 44,
ratAcctAuthentic = 45,
ratAcctSessionTime = 46,
ratAcctInputPackets = 47,
ratAcctOutputPackets = 48,
ratAcctTerminateCause = 49,
ratAcctMultiSessionId = 50,
ratAcctLinkCount = 51,
ratAcctInputGigawords = 52,
ratAcctOutputGigawords = 53,
ratEventTimestamp = 54,
ratEgressVLANID = 55,
ratIngressVLANID = 56,
ratEgressVLANName = 57,
ratIngressVLANName = 58,
ratDialinPermission = 59,
ratDialinCallbackId = 60,
ratDialinCallbackDelay = 61,
ratUnassigned62 = 62,
ratTunnelType = 64,
ratTunnelMediumType = 65,
ratTunnelClientEndpoint = 66,
ratTunnelServerEndpoint = 67,
ratARAPPassword = 70,
ratARAPFeatures = 71,
ratARAPZoneAccess = 72,
ratARAPSecurity = 73,
ratARAPSecurityData = 74,
ratPasswordRetry = 75,
ratPrompt = 76,
ratConnectInfo = 77,
ratConfigurationToken = 78,
ratEAPMessage = 79,
ratSignature = 80,
ratARAPChallengeResponse = 81,
ratAcctInterimInterval = 82,
ratNASPortType = 88,
ratUnassigned89 = 89,
ratPortLimit = 90,
ratLoginLATPort = 91,
ratTunnelPassword = 69,
ratARAPChallenge = 68,
ratReserved = 255
} RADIUS_ATTRIBUTE_TYPE, *PRADIUS_ATTRIBUTE_TYPE;
这个枚举包含了各种RADIUS属性的类型,例如用户名、用户密码、NAS IP地址、服务类型等。你可以根据需要使用这些属性类型来构建RADIUS协议消息。
转载请注明出处:http://www.zyzy.cn/article/detail/23928/Win32 API/Authif.h/RADIUS_ATTRIBUTE_TYPE