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

N_RESET_IND Primitive

Purpose

Indicates the connection has been reset.

Syntax

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

typedef struct {
   ulong PRIM_type;
   ulong RESET_orig;
   ulong RESET_reason;
} N_reset_ind_t;

Description

The N_RESET_IND primitive indicates to the network service user that the network connection has been reset. The network provider originates this primitive.

Parameters

PRIM_type Specifies the N_RESET_IND primitive.
RESET_orig Indicates the source of the reset. Its value can be one of the following:
N_PROVIDER Indicates the NS provider or network originated the reset.
N_USER Indicates the remote application originated the reset.
N_UNDEFINED Indicates the reset originator was undefined.
RESET_reason Indicates the cause of the reset.
  • If the value of the RESET_orig parameter is N_PROVIDER, the value is one of the following:
    N_CONGESTION Indicates a reset due to congestion.
    N_RESET_UNSPECIFIED Indicates a reset due to an unspecified reason.
    N_NET_LINK_DOWN Indicates that the network or link is down.
    N_NET_LINK_UP Indicates that the network or link is up.
    Note: Once a N_NET_LINK_DOWN reset indication is received, a N_RESET_RES should be sent in response. After the N_RESET_RES, no other primitives should be sent until a subsequent N_NET_LINK_UP reset indication is received. Other primitives issued will receive a N_NET_LINK_DOWN reset in response.
  • If the value of the RESET_orig parameter is N_USER, the value is:
    N_USER_RESYNC Indicates a user resynchronization.
  • If the value of the RESET_orig parameter is N_UNDEFINED, the value is:
    N_REASON_UNDEFINED Indicates a reset due to an undefined reason.

Implementation Specifics

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


[ Previous | Next | Contents | Search ]