HP-UX SNAplus2 NOF Programmer's Guide
NOF API Verbs (QUERY Verbs)
QUERY_PORT
Chapter 4 883
unsigned char port_name[8]; /* port name */
unsigned char reserv1[2]; /* reserved */
PORT_DET_DATA det_data; /* determined data */
PORT_DEF_DATA def_data; /* defined data */
} PORT_DETAIL;
typedef struct port_det_data
{
unsigned char port_state; /* port state */
unsigned char dlc_type; /* DLC type */
unsigned char port_sim_rim; /* port initialization options */
unsigned char reserv1; /* reserved */
AP_UINT16 def_ls_good_xids; /* number of successful XIDs */
AP_UINT16 def_ls_bad_xids; /* number of unsuccessful XIDs */
AP_UINT16 dyn_ls_good_xids; /* successful XIDs on dynamic */
/* LS count */
AP_UINT16 dyn_ls_bad_xids; /* failed XIDs on dynamic LS */
/* count */
AP_UINT16 num_implicit_links; /* number of implicit links */
unsigned char neg_ls_supp; /* negotiable? */
unsigned char reserva[17]; /* reserved */
} PORT_DET_DATA;
typedef struct port_def_data
{
unsigned char description[32]; /* resource description */
unsigned char initially_active; /* is the port initially active? */
unsigned char reserv2[15]; /* reserved */
unsigned char dlc_name[8]; /* DLC name associated with port */
unsigned char port_type; /* port type */
unsigned char port_attributes[4]; /* port attributes */
unsigned char reserv3[3]; /* reserved */
AP_UINT32 port_number; /* port number */
AP_UINT16 max_rcv_btu_size; /* max receive BTU size */
AP_UINT16 tot_link_act_lim; /* total link activation limit */
AP_UINT16 inb_link_act_lim; /* inbound link activation limit */
AP_UINT16 out_link_act_lim; /* outbound link activation limit*/
unsigned char ls_role; /* initial link station role */
unsigned char reserv1[15]; /* reserved */
unsigned char implicit_dspu_template; /* implicit dspu template */
AP_UINT16 implicit_ls_limit; /* implicit ls limit */
unsigned char reserv4; /* reserved */
unsigned char implicit_dspu_services; /* reserved */
unsigned char implicit_deact_timer; /* deact timer for implicit LSs */
AP_UINT16 act_xid_exchange_limit; /* activation XID exchange limit */
AP_UINT16 nonact_xid_exchange_limit; /* non-act. XID exchange */
/* limit */
unsigned char ls_xmit_rcv_cap; /* LS transmit-receive capability*/
unsigned char max_ifrm_rcvd; /* maximum number of I-frames */