HP-UX SNAplus2 NOF Programmer's Guide

NOF API Verbs (ACTIVATE_SESSION to OPEN_FILE)
DEFINE_DLC
Chapter 3200
DEFINE_DLC
DEFINE_DLC defines a new DLC. It can also be used to modify the
DLC-specific parameters of an existing DLC, if the DLC is not currently
active, but other parameters cannot be modified.
VCB Structure
typedef struct define_dlc
{
AP_UINT16 opcode; /* verb operation code */
unsigned char reserv2; /* reserved */
unsigned char format; /* reserved */
AP_UINT16 primary_rc; /* primary return code */
AP_UINT32 secondary_rc; /* secondary return code */
unsigned char dlc_name[8]; /* name of DLC */
DLC_DEF_DATA def_data; /* DLC defined data */
} DEFINE_DLC;
typedef struct dlc_def_data
{
unsigned char description[32]; /* resource description */
unsigned char initially_active; /* is the DLC initially active? */
unsigned char reserv1[15]; /* reserved */
unsigned char dlc_type; /* DLC type */
unsigned char neg_ls_supp; /* negotiable link station support */
unsigned char port_types; /* port types supported by DLC type */
unsigned char reserv3[11]; /* reserved */
AP_UINT16 dlc_spec_data_len; /* Length of DLC specific data */
} DLC_DEF_DATA;
DLC-specific data for SDLC:
typedef struct sdl_spec_data
{
V0_MUX_INFO mux_info; /* Streams config info */
AP_UINT16 mu_credit; /* amount of credit to allow PC to send*/
unsigned char stats_support; /* activate statistics gathering? */
unsigned char reserve1; /* reserved */
AP_UINT16 sdh_parms_len; /* Length of HMOD stub create_parms */
SDH_CREATE_PARMS sdh_parms; /* HMOD stub create_parms structure */
} SDL_SPEC_DATA;