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.

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.

Parameters

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

Return Values

Item Description
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.