Previous section.

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

NAME

T_ADDR_ACK - Protocol Address Acknowledgment

SYNOPSIS

This message consists of one M_PCPROTO message block formatted as follows:


struct T_addr_ack {
    t_scalar_t   PRIM_type;      /* Always T_ADDR_ACK */
    t_scalar_t   LOCADDR_length;
    t_scalar_t   LOCADDR_offset;
    t_scalar_t   REMADDR_length;
    t_scalar_t   REMADDR_offset;
};


DESCRIPTION

This primitive indicates to the transport user the local and remote protocol addresses currently associated with the transport endpoint.

PARAMETERS

The fields of this message have the following meanings:

PRIM_type

the primitive type.

LOCADDR_length

the length of the local address associated with the transport endpoint.

LOCADDR_offset

the offset from the beginning of the M_PCPROTO message block where the local address begins.

REMADDR_length

the length of the remote address associated with the transport endpoint.

REMADDR_offset

the offset from the beginning of the M_PCPROTO message block where the remote address begins.

The proper alignment of the addresses in the M_PCPROTO message block is not guaranteed.

RULES

If the transport endpoint is not bound to a local address, the LOCADDR_length field is set to 0.

If the transport endpoint is not associated with a remote address, the REMADDR_length field is set to 0.

MODES

Both connection-mode and connectionless-mode.

ORIGINATOR

Transport provider.

Contents Next section Index