HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
DEFINE_PORT
} DEFINE_PORT;
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 */
unsigned char implicit_dspu_services; /* implicit DSPU support */
AP_UINT16 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-activation XID */
/* exchange limit */
unsigned char ls_xmit_rcv_cap; /* LS transmit-receive capability */
unsigned char max_ifrm_rcvd; /* maximum number of I-frames that*/
/* can be received */
AP_UINT16 target_pacing_count; /* Target pacing count */
AP_UINT16 max_send_btu_size; /* Desired maximum send BTU size */
LINK_ADDRESS dlc_data; /* DLC data */
LINK_ADDRESS hpr_dlc_data; /* reserved */
unsigned char implicit_cp_cp_sess_support; /* implicit links allow */
/* CP-CP sessions */
unsigned char implicit_limited_resource; /* implicit links are */
/* limited resource */
unsigned char implicit_hpr_support; /* Is HPR supported? */
unsigned char implicit_link_lvl_error; /* Send HPR traffic on implicit */
/* links using link-level error */
/* recovery? */
unsigned char retired1; /* reserved */
TG_DEFINED_CHARS default_tg_chars; /* default TG chars */
unsigned char discovery_supported; /* reserved */
AP_UINT16 port_spec_data_len; /* length of port specification */
/* data */
AP_UINT16 link_spec_data_len; /* length of link specification */
/* data */
} PORT_DEF_DATA;
230