HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
QUERY_PORT
unsigned char dlc_name[8]; /* name of DLC */
} PORT_SUMMARY;
typedef struct port_detail
{
AP_UINT16 overlay_size; /* size of returned entry */
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 abm_ls_supp; /* ABM support? */
AP_UINT32 start_time; /* Start time of the port */
unsigned char reserva[12]; /* 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 implicit_uplink_to_en; /* implicit EN links up or down? */
unsigned char implicit_appn_links_len; /* reserved */
unsigned char reserv3; /* 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 retry_flags; /* reserved */
AP_UINT16 max_activation_attempts; /* reserved */
AP_UINT16 activation_delay_timer; /* reserved */
unsigned char mltg_pacing_algorithm; /* reserved */
unsigned char implicit_tg_sharing_prohibited; /* reserved */
unsigned char link_spec_data_format; /* reserved */
unsigned char limit_enable; /* reserved */
unsigned char reserv1[6]; /* reserved */
unsigned char implicit_dspu_template[8]; /* implicit dspu template */
AP_UINT16 implicit_ls_limit; /* implicit ls limit */
unsigned char reserv4; /* reserved */
609