HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
DEFINE_DLC
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 hpr_only; /* only support HPR? */
unsigned char reserv3; /* reserved */
unsigned char retry_flags; /* reserved */
AP_UINT16 max_activation_attempts; /* reserved */
AP_UINT16 activation_delay_timer; /* reserved */
unsigned char reserv4[4]; /* reserved */
AP_UINT16 dlc_spec_data_len; /* Length of DLC specific data */
} DLC_DEF_DATA;
DLC-specic data for Enterprise Extender (HPR/IP):
typedef struct ipdlc_dlc_spec_data
{
V0_MUX_INFO mux_info; /* streams information */
AP_UINT16 udp_port[5]; /* UDP port numbers for traffic */
/* priorities LLC, Network, High, */
/* Medium, Low */
unsigned char ip_precedence[5]; /* IP precedence 0-7 for traffic */
/* priorities */
unsigned char no_dns_lookup; /* are all remote host addresses */
/* specified as IPv4 dotted decimal? */
} IPDLC_DLC_SPEC_DATA;
DLC-specic 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;
typedef struct sdh_create_parms
{
AP_UINT16 length; /* Length of HMOD stub create_parms */
AP_UINT16 num_ports; /* max number of ports DLC can support */
AP_UINT32 creators_pid; /* process ID of DLC */
V0_MUX_INFO mux_info; /* reserved */
} SDH_CREATE_PARMS;
DLC-specic data for QLLC:
typedef struct vql_dlc_spec_data
{
V0_MUX_INFO mux_info; /* streams config info */
} VQL_DLC_SPEC_DATA;
DLC-specic data for Token Ring, Ethernet, FDDI:
typedef struct vdl_dlc_cfg
{
V0_MUX_INFO mux_info; /* Streams config info */
130