Navigation


Changeset 705:f0cb8f465763 in freeDiameter for include/freeDiameter/libfdproto.h


Ignore:
Timestamp:
Jan 31, 2011, 5:22:21 PM (13 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Added standard Result-Code values in header.
Added Error-Cause attribute conversion in app_radgw.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/freeDiameter/libfdproto.h

    r689 r705  
    15131513#define ACV_ISI_TLS                             1
    15141514
    1515 /* Error codes */
    1516 #define ER_DIAMETER_SUCCESS                     2001
    1517 #define ER_DIAMETER_REALM_NOT_SERVED            3003
    1518 #define ER_DIAMETER_TOO_BUSY                    3004
    1519 #define ER_DIAMETER_REDIRECT_INDICATION         3006
    1520 #define ER_ELECTION_LOST                        4003
     1515/* Error codes from Base protocol
     1516(reference: http://www.iana.org/assignments/aaa-parameters/aaa-parameters.xml#aaa-parameters-4)
     1517Note that currently, rfc3588bis-26 has some different values for some of these
     1518*/
     1519#define ER_DIAMETER_MULTI_ROUND_AUTH                    1001
     1520
     1521#define ER_DIAMETER_SUCCESS                             2001
     1522#define ER_DIAMETER_LIMITED_SUCCESS                     2002
     1523
     1524#define ER_DIAMETER_COMMAND_UNSUPPORTED                 3001 /* 5019 ? */
     1525#define ER_DIAMETER_UNABLE_TO_DELIVER                   3002
     1526#define ER_DIAMETER_REALM_NOT_SERVED                    3003
     1527#define ER_DIAMETER_TOO_BUSY                            3004
     1528#define ER_DIAMETER_LOOP_DETECTED                       3005
     1529#define ER_DIAMETER_REDIRECT_INDICATION                 3006
     1530#define ER_DIAMETER_APPLICATION_UNSUPPORTED             3007
     1531#define ER_DIAMETER_INVALID_HDR_BITS                    3008 /* 5020 ? */
     1532#define ER_DIAMETER_INVALID_AVP_BITS                    3009 /* 5021 ? */
     1533#define ER_DIAMETER_UNKNOWN_PEER                        3010 /* 5018 ? */
     1534
     1535#define ER_DIAMETER_AUTHENTICATION_REJECTED             4001
     1536#define ER_DIAMETER_OUT_OF_SPACE                        4002
     1537#define ER_ELECTION_LOST                                4003
     1538
     1539#define ER_DIAMETER_AVP_UNSUPPORTED                     5001
     1540#define ER_DIAMETER_UNKNOWN_SESSION_ID                  5002
     1541#define ER_DIAMETER_AUTHORIZATION_REJECTED              5003
     1542#define ER_DIAMETER_INVALID_AVP_VALUE                   5004
     1543#define ER_DIAMETER_MISSING_AVP                         5005
     1544#define ER_DIAMETER_RESOURCES_EXCEEDED                  5006
     1545#define ER_DIAMETER_CONTRADICTING_AVPS                  5007
     1546#define ER_DIAMETER_AVP_NOT_ALLOWED                     5008
     1547#define ER_DIAMETER_AVP_OCCURS_TOO_MANY_TIMES           5009
     1548#define ER_DIAMETER_NO_COMMON_APPLICATION               5010
     1549#define ER_DIAMETER_UNSUPPORTED_VERSION                 5011
     1550#define ER_DIAMETER_UNABLE_TO_COMPLY                    5012
     1551#define ER_DIAMETER_INVALID_BIT_IN_HEADER               5013 /* 3011 ? */
     1552#define ER_DIAMETER_INVALID_AVP_LENGTH                  5014
     1553#define ER_DIAMETER_INVALID_MESSAGE_LENGTH              5015 /* 3012 ? */
     1554#define ER_DIAMETER_INVALID_AVP_BIT_COMBO               5016 /* deprecated? */
     1555#define ER_DIAMETER_NO_COMMON_SECURITY                  5017
    15211556
    15221557
Note: See TracChangeset for help on using the changeset viewer.