[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Technical Reference: Communications, Volume 1


Exception Condition Routine for DLC

Purpose

Notifies the kernel user each time an asynchronous event occurs in generic data link control (GDLC).

Syntax

#include <sys/gdlextcb.h>


int (*dlc_open_ext.excp_fa)( ext)
struct dlc_getx_arg *ext;

Description

The DLC Exception Condition routine notifies the kernel user each time an asynchronous event occurs, such as DLC_SAPD_RES (SAP-disabled) or DLC_CONT_RES (contacted), in GDLC.

Parameters


ext Specifies the same structure for a dlc_getx_arg (get exception) ioctl subroutine.

Return Values


DLC_FUNC_OK Indicates that the exception has been accepted.

Note: The function call above has a hidden parameter extension for internal use only, defined as int *chanp, the channel pointer.

Implementation Specifics

Each GDLC supports a subset of the data-received routines. It is critical to performance that the Exception Condition routine for DLC be coded to minimize the amount of time spent prior to returning to the GDLC that called it.

Related Information

The ioctl subroutine.

Parameter Blocks by ioctl Operation for DLC .

Generic Data Link Control (GDLC) Environment Overview in AIX 5L Version 5.1 Communications Programming Concepts.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]