[ Previous | Next | Contents | Search ]
AIXLink/X.25 1.1 for AIX: Guide and Reference

N_ERROR_ACK Primitive


Provides notification of an error.


This primitive consists of one M_PROTO message block with the following structure:

typedef struct {
   ulong PRIM_type;
   ulong ERROR_prim;
   ulong NPI_error;
   ulong UNIX_error;
} N_error_ack_t;


The N_ERROR_ACK primitive informs the application that a non-fatal error occurred in the previously issued primitive. This primitive can only be initiated as an acknowledgment for those primitives that require one. The N_ERROR_ACK primitive does not perform any action on the primitive that caused the error.


PRIM_type Specifies the N_ERROR_ACK primitive.
ERROR_prim Identifies the primitive that caused the error.
NPI_error Contains the network provider interface (NPI) error code.
UNIX_error Contains the system error code. This parameter can only be nonzero if the value of the NPI_error parameter is NSYSERR.

Error Codes

The following error codes can be returned:

NBADADDR Indicates the specified network address was in an incorrect format, or the address contained illegal information.
NBADOPT Indicates the specified options values were in an incorrect format or contained illegal information.
NNOADDR Indicates the NS provider could not allocate an address.
NOUTSTATE Indicates the primitive was issued from an invalid state.
NBADSEQ Indicates the specified sequence number was incorrect or illegal.
NBADDATA Indicates the specified amount of user data was outside the range supported by the NS provider.
NSYSERR Indicates a system error. The error is indicated in the primitive.
NNOTSUPPORT Indicates the specified primitive type is not known to the NS provider.
NODDCUD Indicates an odd-length call user data string.

Implementation Specifics

The N_ERROR_ACK primitive is part of X.25 Licensed Program.

[ Previous | Next | Contents | Search ]