Appendix B. Error Codes

This section lists the OSI codes defined in <sys/snet/x25_proto.h> that can be used by NLI application programmers.

Table B-1 lists the originator codes in Disconnect Request/Indication and Reset Request/Indication messages.

Table B-1. N_RI and N_DI Originator Codes

Originator Code

Value

N_USER

1

N_PROVIDER

2

Table B-2 lists the reason codes when the originator is the Network Service provider in Disconnect Request/Indication messages.

Table B-2. N_DI Reason Codes for Network Service Providers

Reason Code

Value

NS_GENERIC

0xE0

NS_DTRANSIENT

0xE1

NS_DPERMANENT

0xE2

NS_TUNSPECIFIED

0xE3

NS_PUNSPECIFIED

0xE4

NS_QOSNATRANSIENT

0xE5

NS_QOSNAPERMANENT

0xE6

NS_NSAPTUNREACHABLE

0xE7

NS_NSAPPUNREACHABLE

0xE8

NS_NSAPPUNKNOWN

0xEB

Table B-3 lists the reason codes when the originator is the Network Service user in Disconnect Request/Indication messages.

Table B-3. N_DI Reason Codes for Network Users

Reason Code

Value

NU_GENERIC

0xF0

NU_DNORMAL

0xF1

NU_DABNORMAL

0xF2

NU_DINCOMPUSERDATA

0xF3

NU_TRANSIENT

0xF4

NU_PERMANENT

0xF5

NU_QOSNATRANSIENT

0xF6

NU_QOSNAPERMANENT

0xF7

NU_INCOMPUSERDATA

0xF8

NU_BADPROTID

0xF9

Table B-4 lists the reason codes when the originator is the Network Service provider in Reset Request/Indication messages.

Table B-4. N_RI Reason Codes for Network Service Providers

Reason Code

Value

NS_RUNSPECIFIED

0xE9

NS_RCONGESTION

0xEA

Table B-5 lists the reason codes when the originator is the Network Service user in Reset Request/Indication messages.

Table B-5. N_RI Reason Code For Network Service Users

Reason Code

Value

NU_RESYNC

0xFA



Note: These codes are found in ISO 8208 and are mapped from X.25 cause and diagnostic codes, as described in ISO 8878.