Previous section.

Transport Provider Interface (TPI), Version 2 Draft 2
Copyright © 1999 The Open Group

NAME

T_UNITDATA_IND - Unitdata Indication

SYNOPSIS

This message consists of one M_PROTO message block followed by zero or more M_DATA message blocks where each M_DATA message block contains at least one byte of data. The format of the M_PROTO message block is as follows:


struct T_unitdata_ind {
    t_scalar_t   PRIM_type;      /* Always T_UNITDATA_IND */
    t_scalar_t   SRC_length;
    t_scalar_t   SRC_offset;
    t_scalar_t   OPT_length;
    t_scalar_t   OPT_offset;
};


DESCRIPTION

This primitive indicates to the transport user that a datagram has been received from the specified source address.

PARAMETERS

PRIM_type

identifies the primitive type.

SRC_length

is the length of the source address.

SRC_offset

is the offset (from the beginning of the M_PROTO message block) where the source address begins.

OPT_length

is the length of the requested options associated with the primitive.

OPT_offset

is the offset (from the beginning of the M_PROTO message block) of the requested options associated with the primitive.

The proper alignment of the source address and options in the M_PROTO message block is not guaranteed.

MODES

Only connectionless-mode.

ORIGINATOR

Transport provider.

Contents Next section Index