![]() |
TrustCore SDK NanoSec API reference
version 7.0
|
When you build a RADIUS packet, it must contain a value for the port type attribute as defined in RFC 2685.
You can use the numbers explicitly or create your own definitions corresponding to the appropriate values. DigiCert TrustCore SDK sample code includes two user definitions, both set to port type 19: TTLS_NAS_PORT_TYPE_IEEE_802_11
and EXAMPLE_NAS_PORT_TYPE_IEEE_802_11
.
The following table lists the NAS port type values to use for RADIUS attribute 61
. For full reference citation, refer to http://www.iana.org/assignments/radius-types.
|Number|Port Type|Reference |---—|------—|------— |0|Async| |1|Sync| |2|ISDN Sync| |3|ISDN Async V.120| |4|ISDN Async V.110| |5|Virtual| |6|PIAFS| |7|HDLC Clear Channel| |8|X.25| |9|X.75| |10|G.3 Fax| |11|SDSL - Symmetric DSL| |12|ADSL-CAP - Asymmetric DSL, Carrierless Amplitude Phase Modulation| |13|ADSL-DMT - Asymmetric DSL, Discrete Multi-Tone| |14|IDSL - ISDN Digital Subscriber Line| |15|Ethernet| |16|xDSL - Digital Subscriber Line of unknown type| |17|Cable| |18|Wireless - Other| |19|Wireless - IEEE 802.11| |20|Token-Ring|[RFC 3580] |21|FDDI|[RFC 3580] |22|Wireless - CDMA2000|[McCann] |23|Wireless - UMTS|[McCann] |24|Wireless - 1X-EV|[McCann] |25|IAPP|[IEEE 802.11f][Kerry] |26|FTTP - Fiber to the Premises|[Nyce] |27–29|Unassigned| |30|PPPoA - PPP over ATM|[RFC-zorn-radius-port-type-04.txt] |31|PPPoEoA - PPP over Ethernet over ATM|[RFC-zorn-radius-port-type-04.txt] |32|PPPoEoE - PPP over Ethernet over Ethernet|[RFC-zorn-radius-port-type-04.txt] |33|PPPoEoVLAN - PPP over Ethernet over VLAN|[RFC-zorn-radius-port-type-04.txt] |34|PPPoEoQinQ - PPP over Ethernet over IEEE 802.1QinQ|[RFC-zorn-radius-port-type-04.txt]