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

N_DATA_IND Primitive

Purpose

Indicates that the current message contains application data.

Structure

The structure of the M_PROTO message block, if present, is as follows:

typedef struct {
   ulong PRIM_type;
   ulong DATA_xfer_flags;
} N_data_ind_t;

Otherwise, the message consists of one or more M_DATA message blocks.

Description

The N_DATA_IND primitive indicates to the NS user that this message contains NS user data. This primitive originates from the network provider and is a response to the N_DATA_REQ primitive. The network service data unit (NSDU) can be segmented into more than one network interface data units (NIDUs). The MORE_DATA_FLAG associates NIDUs with the NSDU. The RC_FLAG flag can be set only on the last NIDU.

The format of the message is one or more M_DATA message blocks. The value of the NS user data field is always the same as that supplied in the corresponding N_DATA_REQ primitive at the peer service access point. M_PROTO message blocks are optional.

Parameters

PRIM_type Specifies the N_DATA_IND primitive.
DATA_xfer_flags Specifies one of the following flags:
N_MORE_DATA_FLAG Indicates that the next N_DATA_IND primitive (NIDU) is part of the current NSDU. The NSDU is what was considered by the remote application to a whole unit of data.
N_RC_FLAG Indicates whether confirmation is requested. The DATA_xfer_flags parameter can have this value only if both applications and the network agreed its use while the network connection (NC) was being established. This parameter value is always identical to that supplied in the corresponding N_DATA_REQ primitive.
N_Q_FLAG Indicates that the qualifier bit (Q-bit) was set by the remote application.

Implementation Specifics

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


[ Previous | Next | Contents | Search ]