/* File : ccMib.h Description : Header file for CCII PMC FDDI Driver SMT 7.3 MIB. Copyright : CCII Systems 1995-1998 This file may only be copied, altered or distributed with the written permission of CCII Systems. Author : Alastair Knight Project : PMC FDDI Driver. Created : 1998-12-22 Updates : $Log: /archive/pvcs/vxfddi/vxfddi/ccMib.h.V $ * * Rev 1.1 25 Jan 2000 18:17:38 ark * Removed reference to portingtypes.h. * * Rev 1.0 22 Dec 1998 15:52:24 ark * First revision. */ #ifndef _CCMIB_H #define _CCMIB_H #define CC_ALEN 6 /* Octets in one FDDI address */ /* FDDI statistics structure */ struct cc_fddi_mib_type { unsigned int rx_packets; /* total packets received */ unsigned int tx_packets; /* total packets transmitted */ unsigned int rx_errors; /* bad packets received */ unsigned int tx_errors; /* packet transmit problems */ unsigned int rx_dropped; /* no space in linux buffers */ unsigned int tx_dropped; /* no space available in vxWorks */ unsigned int multicast; /* multicast packets received */ unsigned int transmit_collision; /* always 0 for FDDI */ /* Detailed FDDI statistics. */ unsigned char smt_station_id[8]; unsigned int smt_op_version_id; unsigned int smt_hi_version_id; unsigned int smt_lo_version_id; unsigned char smt_user_data[32]; unsigned int smt_mib_version_id; unsigned int smt_mac_cts; unsigned int smt_non_master_cts; unsigned int smt_master_cts; unsigned int smt_available_paths; unsigned int smt_config_capabilities; unsigned int smt_config_policy; unsigned int smt_connection_policy; unsigned int smt_t_notify; unsigned int smt_stat_rpt_policy; unsigned int smt_trace_max_expiration; unsigned int smt_bypass_present; unsigned int smt_ecm_state; unsigned int smt_cf_state; unsigned int smt_remote_disconnect_flag; unsigned int smt_station_status; unsigned int smt_peer_wrap_flag; unsigned long int smt_time_stamp; unsigned long int smt_transition_time_stamp; unsigned int mac_frame_status_functions; unsigned int mac_t_max_capability; unsigned int mac_tvx_capability; unsigned int mac_available_paths; unsigned int mac_current_path; unsigned char mac_upstream_nbr[CC_ALEN]; unsigned char mac_downstream_nbr[CC_ALEN]; unsigned char mac_old_upstream_nbr[CC_ALEN]; unsigned char mac_old_downstream_nbr[CC_ALEN]; unsigned int mac_dup_address_test; unsigned int mac_requested_paths; unsigned int mac_downstream_port_type; unsigned char mac_smt_address[CC_ALEN]; unsigned int mac_t_req; unsigned int mac_t_neg; unsigned int mac_t_max; unsigned int mac_tvx_value; unsigned int mac_frame_cts; unsigned int mac_copied_cts; unsigned int mac_transmit_cts; unsigned int mac_error_cts; unsigned int mac_lost_cts; unsigned int mac_frame_error_threshold; unsigned int mac_frame_error_ratio; unsigned int mac_rmt_state; unsigned int mac_da_flag; unsigned int mac_una_da_flag; unsigned int mac_frame_error_flag; unsigned int mac_ma_unitdata_available; unsigned int mac_hardware_present; unsigned int mac_ma_unitdata_enable; unsigned int path_tvx_lower_bound; unsigned int path_t_max_lower_bound; unsigned int path_max_t_req; unsigned int path_configuration[8]; unsigned int port_my_type[2]; unsigned int port_neighbor_type[2]; unsigned int port_connection_policies[2]; unsigned int port_mac_indicated[2]; unsigned int port_current_path[2]; unsigned char port_requested_paths[3*2]; unsigned int port_mac_placement[2]; unsigned int port_available_paths[2]; unsigned int port_pmd_class[2]; unsigned int port_connection_capabilities[2]; unsigned int port_bs_flag[2]; unsigned int port_lct_fail_cts[2]; unsigned int port_ler_estimate[2]; unsigned int port_lem_reject_cts[2]; unsigned int port_lem_cts[2]; unsigned int port_ler_cutoff[2]; unsigned int port_ler_alarm[2]; unsigned int port_connect_state[2]; unsigned int port_pcm_state[2]; unsigned int port_pc_withhold[2]; unsigned int port_ler_flag[2]; unsigned int port_hardware_present[2]; }; #endif /* _CCMIB_H */