Go to the documentation of this file.
31 #ifndef _RADIUS_ATTRIBUTES_H
32 #define _RADIUS_ATTRIBUTES_H
38 #define RADIUS_MAX_ATTR_VALUE_LEN 253
296 #if defined(__CCRX__)
298 #elif defined(__CWCC__) || defined(_WIN32)
299 #pragma pack(push, 1)
316 #if defined(__CCRX__)
318 #elif defined(__CWCC__) || defined(_WIN32)
@ RADIUS_ATTR_PKM_SA_DESCRIPTOR
PKM-SA-Descriptor.
@ RADIUS_ATTR_ALLOWED_CALLED_STATION_ID
Allowed-Called-Station-Id.
@ RADIUS_ATTR_PMIP6_HOME_LMA_IPV6_ADDR
PMIP6-Home-LMA-IPv6-Address.
@ RADIUS_ATTR_REQUESTED_LOCATION_INFO
Requested-Location-Info.
@ RADIUS_ATTR_FILTER_ID
Filter-Id.
@ RADIUS_ATTR_FRAMED_APPLETALK_LINK
Framed-AppleTalk-Link.
@ RADIUS_ATTR_FRAMED_IPV6_POOL
Framed-IPv6-Pool.
@ RADIUS_PORT_TYPE_SYNC
Sync.
@ RADIUS_ATTR_EAP_LOWER_LAYER
EAP-Lower-Layer.
@ RADIUS_ATTR_DELEGATED_IPV6_PREFIX
Delegated-IPv6-Prefix.
@ RADIUS_ATTR_ACCT_AUTHENTIC
Acct-Authentic.
@ RADIUS_ATTR_MANAGEMENT_PRIVILEGE_LEVEL
Management-Privilege-Level.
@ RADIUS_ATTR_CHAP_CHALLENGE
CHAP-Challenge.
@ RADIUS_ATTR_FRAMED_IPV6_ROUTE
Framed-IPv6-Route.
@ RADIUS_ATTR_LOGIN_IP_HOST
Login-IP-Host.
@ RADIUS_PORT_TYPE_ISDN_ASYNC_V120
ISDN Async V.120.
@ RADIUS_SERVICE_TYPE_FRAMED
Framed.
@ RADIUS_ATTR_LOGIN_TCP_PORT
Login-TCP-Port.
@ RADIUS_SERVICE_TYPE_CALL_CHECK
Call Check.
@ RADIUS_ATTR_FRAMED_COMPRESSION
Framed-Compression.
@ RADIUS_ATTR_MESSAGE_AUTHENTICATOR
Message-Authenticator.
@ RADIUS_ATTR_USER_PASSWORD
User-Password.
@ RADIUS_ATTR_LOGIN_IPV6_HOST
Login-IPv6-Host.
@ RADIUS_ATTR_DIGEST_AUTH_PARAM
Digest-Auth-Param.
@ RADIUS_ATTR_PKM_AUTH_KEY
PKM-Auth-Key.
@ RADIUS_ATTR_PMIP6_HOME_DHCP4_SERVER_ADDR
PMIP6-Home-DHCP4-Server-Address.
@ RADIUS_ATTR_TUNNEL_ASSIGNMENT_ID
Tunnel-Assignment-ID.
@ RADIUS_SERVICE_TYPE_CALLBACK_LOGIN
Callback Login.
@ RADIUS_ATTR_FRAMED_IPV6_PREFIX
Framed-IPv6-Prefix.
@ RADIUS_ATTR_ARAP_FEATURES
ARAP-Features.
@ RADIUS_ATTR_CONFIGURATION_TOKEN
Configuration-Token.
@ RADIUS_PORT_TYPE_ISDN_ASYNC_V110
ISDN Async V.110.
@ RADIUS_ATTR_PMIP6_VISITED_HN_PREFIX
PMIP6-Visited-HN-Prefix.
@ RADIUS_ATTR_LOGIN_LAT_PORT
Login-LAT-Port.
@ RADIUS_ATTR_PKM_SAID
PKM-SAID.
void radiusAddAttribute(RadiusPacket *packet, uint8_t type, const void *value, size_t length)
Append an attribute to a RADIUS packet.
@ RADIUS_ATTR_ACCT_STATUS_TYPE
Acct-Status-Type.
@ RADIUS_ATTR_STATE
State.
@ RADIUS_ATTR_CHAP_PASSWORD
CHAP-Password.
@ RADIUS_ATTR_FRAMED_APPLETALK_ZONE
Framed-AppleTalk-Zone.
@ RADIUS_ATTR_ACCT_OUTPUT_GIGAWORDS
Acct-Output-Gigawords.
@ RADIUS_SERVICE_TYPE_NAS_PROMPT
NAS Prompt.
@ RADIUS_SERVICE_TYPE_CALLBACK_FRAMED
Callback Framed.
@ RADIUS_PORT_TYPE_WIRELESS_IEEE_802_11
Wireless - IEEE 802.11.
@ RADIUS_ATTR_DIGEST_RESPONSE_AUTH
Digest-Response-Auth.
@ RADIUS_ATTR_ARAP_PASSWORD
ARAP-Password.
@ RADIUS_ATTR_CONNECT_INFO
Connect-Info.
@ RADIUS_ATTR_ACCT_SESSION_ID
Acct-Session-Id.
@ RADIUS_ATTR_LOGIN_LAT_GROUP
Login-LAT-Group.
@ RADIUS_ATTR_ACCT_MULTI_SESSION_ID
Acct-Multi-Session-Id.
@ RADIUS_ATTR_NAS_PORT
NAS-Port.
@ RADIUS_ATTR_DNS_SERVER_IPV6_ADDR
DNS-Server-IPv6-Address.
@ RADIUS_SERVICE_TYPE_ADMINISTRATIVE
Administrative.
@ RADIUS_PORT_TYPE_X25
X.25.
@ RADIUS_ATTR_EXTENDED_ATTR_4
Extended-Attribute-4.
@ RADIUS_ATTR_FRAMED_ROUTE
Framed-Route.
@ RADIUS_PORT_TYPE_ASYNC
Async.
@ RADIUS_ATTR_LOGIN_LAT_SERVICE
Login-LAT-Service.
@ RADIUS_PORT_TYPE_ADSL_DMT
ADSL-DMT.
@ RADIUS_ATTR_DIGEST_NONCE_COUNT
Digest-Nonce-Count.
@ RADIUS_ATTR_NAS_IPV6_ADDR
NAS-IPv6-Address.
@ RADIUS_ATTR_GSS_ACCEPTOR_SERVICE_SPECIFICS
GSS-Acceptor-Service-Specifics.
@ RADIUS_SERVICE_TYPE_CALLBACK_NAS_PROMPT
Callback NAS Prompt.
@ RADIUS_ATTR_PMIP6_VISITED_IPV4_HOA
PMIP6-Visited-IPv4-HoA.
@ RADIUS_ATTR_DS_LITE_TUNNEL_NAME
DS-Lite-Tunnel-Name.
@ RADIUS_ATTR_PORT_LIMIT
Port-Limit.
@ RADIUS_ATTR_PMIP6_VISITED_LMA_IPV4_ADDR
PMIP6-Visited-LMA-IPv4-Address.
@ RADIUS_PORT_TYPE_ISDN_SYNC
ISDN Sync.
@ RADIUS_PORT_TYPE_VIRTUAL
Virtual.
@ RADIUS_ATTR_MIP6_FEATURE_VECTOR
MIP6-Feature-Vector.
@ RADIUS_ATTR_WLAN_VENUE_NAME
WLAN-Venue-Name.
@ RADIUS_PORT_TYPE_HDLC_CLEAR_CHANNEL
HDLC Clear Channel.
@ RADIUS_ATTR_CALLBACK_ID
Callback-Id.
@ RADIUS_ATTR_PMIP6_VISITED_IPV4_GATEWAY
PMIP6-Visited-IPv4-Gateway.
@ RADIUS_ATTR_NAS_IDENTIFIER
NAS-Identifier.
@ RADIUS_ATTR_LOCATION_CAPABLE
Location-Capable.
@ RADIUS_ATTR_MOBILITY_DOMAIN_ID
Mobility-Domain-Id.
@ RADIUS_ATTR_PMIP6_HOME_LMA_IPV4_ADDR
PMIP6-Home-LMA-IPv4-Address.
@ RADIUS_ATTR_EXTENDED_ATTR_3
Extended-Attribute-3.
@ RADIUS_SERVICE_TYPE_LOGIN
Login.
@ RADIUS_ATTR_EXTENDED_LOCATION_POLICY_RULES
Extended-Location-Policy-Rules.
@ RADIUS_ATTR_ACCT_TUNNEL_PACKETS_LOST
Acct-Tunnel-Packets-Lost.
@ RADIUS_ATTR_EXTENDED_ATTR_6
Extended-Attribute-6.
@ RADIUS_ATTR_SERVICE_SELECTION
Service-Selection.
@ RADIUS_PORT_TYPE_ETHERNET
Ethernet.
@ RADIUS_ATTR_ACCT_DELAY_TIME
Acct-Delay-Time.
@ RADIUS_ATTR_PMIP6_HOME_INTERFACE_ID
PMIP6-Home-Interface-ID.
@ RADIUS_ATTR_ARAP_SECURITY_DATA
ARAP-Security-Data.
@ RADIUS_ATTR_EAP_MESSAGE
EAP-Message.
@ RADIUS_ATTR_EGRESS_VLAN_NAME
Egress-VLAN-Name.
@ RADIUS_ATTR_FRAMED_MTU
Framed-MTU.
@ RADIUS_ATTR_ARAP_SECURITY
ARAP-Security.
@ RADIUS_SERVICE_TYPE_CALLBACK_ADMINISTRATIVE
Callback Administrative.
@ RADIUS_ATTR_WLAN_PAIRWISE_CIPHER
WLAN-Pairwise-Cipher.
@ RADIUS_ATTR_CALLING_STATION_ID
Calling-Station-Id.
@ RADIUS_SERVICE_TYPE_OUTBOUND
Outbound.
const RadiusAttribute * radiusGetAttribute(const RadiusPacket *packet, uint8_t type, uint_t index)
Search a RADIUS packet for a given attribute.
@ RADIUS_ATTR_PMIP6_VISITED_INTERFACE_ID
PMIP6-Visited-Interface-ID.
@ RADIUS_ATTR_PASSWORD_RETRY
Password-Retry.
@ RADIUS_ATTR_ACCT_INPUT_PACKETS
Acct-Input-Packets.
@ RADIUS_ATTR_LOGIN_SERVICE
Login-Service.
@ RADIUS_ATTR_VENDOR_SPECIFIC
Vendor-Specific.
@ RADIUS_ATTR_ACCT_LINK_COUNT
Acct-Link-Count.
@ RADIUS_ATTR_SESSION_TIMEOUT
Session-Timeout.
@ RADIUS_ATTR_DIGEST_OPAQUE
Digest-Opaque.
@ RADIUS_ATTR_ORIGINATING_LINE_INFO
Originating-Line-Info.
@ RADIUS_ATTR_EXTENDED_ATTR_5
Extended-Attribute-5.
@ RADIUS_ATTR_DIGEST_USERNAME
Digest-Username.
@ RADIUS_ATTR_DIGEST_ALGORITHM
Digest-Algorithm.
@ RADIUS_ATTR_REPLY_MESSAGE
Reply-Message.
@ RADIUS_PORT_TYPE_CABLE
Cable.
@ RADIUS_ATTR_EGRESS_VLANID
Egress-VLANID.
@ RADIUS_ATTR_FRAMED_IPX_NETWORK
Framed-IPX-Network.
@ RADIUS_ATTR_TUNNEL_PASSWORD
Tunnel-Password.
@ RADIUS_ATTR_ACCT_OUTPUT_OCTETS
Acct-Output-Octets.
@ RADIUS_ATTR_DIGEST_DOMAIN
Digest-Domain.
typedef __packed_struct
Attribute.
@ RADIUS_ATTR_DIGEST_NEXTNONCE
Digest-Nextnonce.
@ RADIUS_ATTR_FRAMED_INTERFACE_ID
Framed-Interface-Id.
@ RADIUS_ATTR_TUNNEL_PRIVATE_GROUP_ID
Tunnel-Private-Group-ID.
@ RADIUS_ATTR_INGRESS_FILTERS
Ingress-Filters.
@ RADIUS_ATTR_TUNNEL_CLIENT_ENDPOINT
Tunnel-Client-Endpoint.
@ RADIUS_ATTR_USER_PRIORITY_TABLE
User-Priority-Table.
@ RADIUS_ATTR_EVENT_TIMESTAMP
Event-Timestamp.
@ RADIUS_ATTR_DIGEST_ENTITY_BODY_HASH
Digest-Entity-Body-Hash.
@ RADIUS_ATTR_IPV6_6RD_CONFIGURATION
IPv6-6rd-Configuration.
@ RADIUS_ATTR_NETWORK_ID_NAME
Network-Id-Name.
@ RADIUS_ATTR_ARAP_CHALLENGE_RESPONSE
ARAP-Challenge-Response.
@ RADIUS_ATTR_WLAN_AKM_SUITE
WLAN-AKM-Suite.
@ RADIUS_ATTR_GSS_ACCEPTOR_HOST_NAME
GSS-Acceptor-Host-Name.
@ RADIUS_ATTR_EXTENDED_ATTR_1
Extended-Attribute-1.
@ RADIUS_ATTR_OPERATOR_NAME
Operator-Name.
@ RADIUS_ATTR_FRAMED_POOL
Framed-Pool.
@ RADIUS_ATTR_PKM_SS_CERT
PKM-SS-Cert.
RadiusAttributeType
Attribute types.
@ RADIUS_ATTR_FRAMED_MANAGEMENT_PROTOCOL
Framed-Management-Protocol.
@ RADIUS_ATTR_DELEGATED_IPV6_PREFIX_POOL
Delegated-IPv6-Prefix-Pool.
@ RADIUS_ATTR_MOBILE_NODE_IDENTIFIER
Mobile-Node-Identifier.
RADIUS (Remote Authentication Dial In User Service)
@ RADIUS_ATTR_FRAMED_IP_ADDR
Framed-IP-Address.
@ RADIUS_ATTR_PMIP6_VISITED_DHCP6_SERVER_ADDR
PMIP6-Visited-DHCP6-Server-Address.
@ RADIUS_ATTR_NAS_PORT_TYPE
NAS-Port-Type.
@ RADIUS_ATTR_PKM_CRYPTOSUITE_LIST
PKM-Cryptosuite-List.
@ RADIUS_ATTR_DIGEST_METHOD
Digest-Method.
@ RADIUS_ATTR_ACCT_TUNNEL_CONNECTION
Acct-Tunnel-Connection.
@ RADIUS_ATTR_PMIP6_VISITED_LMA_IPV6_ADDR
PMIP6-Visited-LMA-IPv6-Address.
@ RADIUS_ATTR_TUNNEL_SERVER_AUTH_ID
Tunnel-Server-Auth-ID.
@ RADIUS_ATTR_WLAN_GROUP_CIPHER
WLAN-Group-Cipher.
@ RADIUS_ATTR_LOGIN_LAT_NODE
Login-LAT-Node.
@ RADIUS_ATTR_PMIP6_HOME_IPV4_GATEWAY
PMIP6-Home-IPv4-Gateway.
RadiusServiceType
Service types.
@ RADIUS_ATTR_ARAP_ZONE_ACCESS
ARAP-Zone-Access.
@ RADIUS_ATTR_FRAMED_PROTOCOL
Framed-Protocol.
@ RADIUS_ATTR_WLAN_REASON_CODE
WLAN-Reason-Code.
@ RADIUS_ATTR_USER_NAME
User-Name.
@ RADIUS_ATTR_STATEFUL_IPV6_ADDR_POOL
Stateful-IPv6-Address-Pool.
@ RADIUS_SERVICE_TYPE_AUTHENTICATE_ONLY
Authenticate Only.
@ RADIUS_ATTR_TUNNEL_TYPE
Tunnel-Type.
@ RADIUS_ATTR_ACCT_INTERIM_INTERVAL
Acct-Interim-Interval.
@ RADIUS_PORT_TYPE_PIAFS
PIAFS.
@ RADIUS_ATTR_PMIP6_HOME_IPV4_HOA
PMIP6-Home-IPv4-HoA.
@ RADIUS_ATTR_TUNNEL_SERVER_ENDPOINT
Tunnel-Server-Endpoint.
@ RADIUS_ATTR_LOCATION_DATA
Location-Data.
@ RADIUS_ATTR_WLAN_HESSID
WLAN-HESSID.
@ RADIUS_ATTR_FRAMED_APPLETALK_NETWORK
Framed-AppleTalk-Network.
@ RADIUS_ATTR_BASIC_LOCATION_POLICY_RULES
Basic-Location-Policy-Rules.
@ RADIUS_ATTR_DIGEST_URI
Digest-URI.
@ RADIUS_ATTR_FRAMED_IPV6_ADDR
Framed-IPv6-Address.
@ RADIUS_PORT_TYPE_X75
X.75.
@ RADIUS_ATTR_NAS_IP_ADDR
NAS-IP-Address.
@ RADIUS_ATTR_DIGEST_REALM
Digest-Realm.
@ RADIUS_ATTR_CALLED_STATION_ID
Called-Station-Id.
@ RADIUS_ATTR_DIGEST_AKA_AUTS
Digest-AKA-Auts.
@ RADIUS_ATTR_DIGEST_QOP
Digest-Qop.
@ RADIUS_ATTR_PMIP6_HOME_DHCP6_SERVER_ADDR
PMIP6-Home-DHCP6-Server-Address.
@ RADIUS_ATTR_TERMINATION_ACTION
Termination-Action.
@ RADIUS_ATTR_SERVICE_TYPE
Service-Type.
@ RADIUS_ATTR_ERROR_CAUSE
Error-Cause.
@ RADIUS_ATTR_ROUTE_IPV6_INFORMATION
Route-IPv6-Information.
@ RADIUS_ATTR_FRAMED_IP_NETMASK
Framed-IP-Netmask.
RadiusPortType
Service types.
@ RADIUS_ATTR_PROXY_STATE
Proxy-State.
@ RADIUS_ATTR_WLAN_VENUE_INFO
WLAN-Venue-Info.
@ RADIUS_PORT_TYPE_IDSL
IDSL.
@ RADIUS_ATTR_MANAGEMENT_TRANSPORT_PROTECTION
Management-Transport-Protection.
@ RADIUS_ATTR_EAP_SERVER_ID
EAP-Server-Id.
@ RADIUS_ATTR_MANAGEMENT_POLICY_ID
Management-Policy-Id.
@ RADIUS_PORT_TYPE_XDSL
xDSL
@ RADIUS_ATTR_FRAMED_ROUTING
Framed-Routing.
@ RADIUS_ATTR_ACCT_OUTPUT_PACKETS
Acct-Output-Packets.
@ RADIUS_ATTR_MIP6_HOME_LINK_PREFIX
MIP6-Home-Link-Prefix.
@ RADIUS_ATTR_PMIP6_VISITED_DHCP4_SERVER_ADDR
PMIP6-Visited-DHCP4-Server-Address.
@ RADIUS_ATTR_NAS_PORT_ID
NAS-Port-Id.
@ RADIUS_ATTR_NAS_FILTER_RULE
NAS-Filter-Rule.
@ RADIUS_ATTR_DIGEST_STALE
Digest-Stale.
@ RADIUS_ATTR_PROMPT
Prompt.
@ RADIUS_ATTR_GSS_ACCEPTOR_REALM_NAME
GSS-Acceptor-Realm-Name.
@ RADIUS_ATTR_SIP_AOR
SIP-AOR.
@ RADIUS_ATTR_TUNNEL_PREFERENCE
Tunnel-Preference.
@ RADIUS_ATTR_WLAN_GROUP_MGMT_CIPHER
WLAN-Group-Mgmt-Cipher.
@ RADIUS_ATTR_ACCT_INPUT_OCTETS
Acct-Input-Octets.
@ RADIUS_ATTR_TUNNEL_MEDIUM_TYPE
Tunnel-Medium-Type.
@ RADIUS_ATTR_DIGEST_RESPONSE
Digest-Response.
@ RADIUS_ATTR_DIGEST_HA1
Digest-HA1.
@ RADIUS_ATTR_ACCT_SESSION_TIME
Acct-Session-Time.
@ RADIUS_ATTR_IDLE_TIMEOUT
Idle-Timeout.
@ RADIUS_ATTR_PMIP6_HOME_HN_PREFIX
PMIP6-Home-HN-Prefix.
@ RADIUS_ATTR_CALLBACK_NUMBER
Callback-Number.
@ RADIUS_ATTR_CLASS
Class.
@ RADIUS_PORT_TYPE_ADSL_CAP
ADSL-CAP.
@ RADIUS_ATTR_WLAN_VENUE_LANGUAGE
WLAN-Venue-Language.
@ RADIUS_ATTR_PKM_CA_CERT
PKM-CA-Cert.
@ RADIUS_ATTR_WLAN_RF_BAND
WLAN-RF-Band.
@ RADIUS_PORT_TYPE_WIRELESS_OTHER
Wireless - Other.
@ RADIUS_PORT_TYPE_G3_FAX
G.3 Fax.
@ RADIUS_ATTR_TUNNEL_CLIENT_AUTH_ID
Tunnel-Client-Auth-ID.
@ RADIUS_ATTR_DIGEST_CNONCE
Digest-CNonce.
@ RADIUS_ATTR_LOCATION_INFORMATION
Location-Information.
@ RADIUS_ATTR_DIGEST_NONCE
Digest-Nonce.
@ RADIUS_ATTR_PKM_CONFIG_SETTINGS
PKM-Config-Settings.
@ RADIUS_PORT_TYPE_SDSL
SDSL.
@ RADIUS_ATTR_EAP_KEY_NAME
EAP-Key-Name.
@ RADIUS_ATTR_ACCT_INPUT_GIGAWORDS
Acct-Input-Gigawords.
@ RADIUS_ATTR_GSS_ACCEPTOR_SERVICE_NAME
GSS-Acceptor-Service-Name.
@ RADIUS_ATTR_EAPOL_ANNOUNCEMENT
EAPoL-Announcement.
@ RADIUS_ATTR_EXTENDED_ATTR_2
Extended-Attribute-2.
@ RADIUS_ATTR_EAP_PEER_ID
EAP-Peer-Id.
@ RADIUS_ATTR_ACCT_TERMINATE_CAUSE
Acct-Terminate-Cause.
@ RADIUS_ATTR_PREAUTH_TIMEOUT
Preauth-Timeout.