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

N_CONN_IND Primitive


Indicates a network request connection has been made.


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

typedef struct {
   ulong PRIM_type;
   ulong DEST_length;
   ulong DEST_offset;
   ulong SRC_length;
   ulong SRC_offset;
   ulong SEQ_number;
   ulong CONN_flags;
   ulong QOS_length;
   ulong QOS_offset;
 } N_conn_ind_t;
Note: QOS_length and QOS_offset are 0 (zero) since they are not supported.


The N_CONN_IND primitive indicates to an application that it has received an incoming call or connection.

The format of this message is one M_PROTO message block normally followed by one or more M_DATA blocks for NS user data. The calling application could have sent any integral number of octets of data within the range supported by the NS provider. The NS user data exists only if the corresponding N_CONN_REQ primitive specified user data. The data in the N_CONN_IND and N_CONN_REQ primitives is identical.


PRIM_type Specifies the N_CONN_IND primitive.
DEST_length Specifies the length of the destination address parameter. The destination address parameter conveys an address identifying the NS user to which the NC is to be established.
DEST_offset Specifies the offset of the destination address from the beginning of the M_PROTO message block.
SRC_length Specifies the source address length. The source address parameter conveys the network address of the NS user from which the NC has been requested. The semantics of the value in the N_CONN_IND primitive are identical to the value associated with the stream on which the N_CONN_REQ primitive was issued.
SRC_offset Specifies the offset of the destination address from the beginning of the M_PROTO message block.
SEQ_number Identifies the sequence number that can be used by the NS user to associate this message with a subsequent N_CONN_RES or N_DISCON_REQ primitive. This value must be unique among the outstanding N_CONN_IND primitives. The parameter allows the NS user to issue the N_CONN_RES or N_DISCON_REQ primitives in any order.
CONN_flags Matches the value of the CONN_flags parameter of the N_CONN_REQ primitive. The CONN_flags parameter can have the following value:
REC_CONF_OPT Indicates the use and/or availability of the receipt confirmation service on the NC. The receipt confirmation service must be provided in the network service to be used on the NC.
QOS_length Set to 0.
QOS_offset Set to 0.

Implementation Specifics

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

[ Previous | Next | Contents | Search ]