Attributes and definitions fo channel bindings
[freeradius.git] / src / include / radius.h
index f368205..eaf2cc2 100644 (file)
@@ -36,9 +36,9 @@ typedef enum {
 
 typedef enum {
        PW_CODE_UNDEFINED               = 0,    //!< Packet code has not been set
-       PW_CODE_AUTHENTICATION_REQUEST  = 1,    //!< RFC2865 - Access-Request
-       PW_CODE_AUTHENTICATION_ACK      = 2,    //!< RFC2865 - Access-Accept
-       PW_CODE_AUTHENTICATION_REJECT   = 3,    //!< RFC2865 - Access-Reject
+       PW_CODE_ACCESS_REQUEST          = 1,    //!< RFC2865 - Access-Request
+       PW_CODE_ACCESS_ACCEPT           = 2,    //!< RFC2865 - Access-Accept
+       PW_CODE_ACCESS_REJECT           = 3,    //!< RFC2865 - Access-Reject
        PW_CODE_ACCOUNTING_REQUEST      = 4,    //!< RFC2866 - Accounting-Request
        PW_CODE_ACCOUNTING_RESPONSE     = 5,    //!< RFC2866 - Accounting-Response
        PW_CODE_ACCOUNTING_STATUS       = 6,    //!< RFC3575 - Reserved
@@ -59,7 +59,9 @@ typedef enum {
 } PW_CODE;
 
 #define PW_AUTH_UDP_PORT               1812
+#define PW_AUTH_UDP_PORT_ALT           1645
 #define PW_ACCT_UDP_PORT               1813
+#define PW_ACCT_UDP_PORT_ALT           1646
 #define PW_POD_UDP_PORT                        1700
 #define PW_RADIUS_TLS_PORT             2083
 #define PW_COA_UDP_PORT                        3799
@@ -226,6 +228,7 @@ typedef enum {
 #define VENDORPEC_MICROSOFT            311
 #define VENDORPEC_FREERADIUS           11344
 #define VENDORPEC_WIMAX                        24757
+#define VENDORPEC_UKERNA               25622
 
 /*
  * Vendor specific attributes
@@ -269,3 +272,9 @@ typedef enum {
 #define PW_VQP_MAC                     0x2c06
 #define PW_VQP_UNKNOWN                 0x2c07
 #define PW_VQP_COOKIE                  0x2c08
+
+/*
+ * JANET's code for transporting eap channel binding data over ttls
+ */
+
+#define PW_UKERNA_CHBIND               135