bcm_oam_* (159)

void BCM_OAM_ACTION_CLEAR(bcm_oam_endpoint_action_t *_action, int *_action_type);
void BCM_OAM_ACTION_CLEAR_ALL(bcm_oam_endpoint_action_t *_action);
int BCM_OAM_ACTION_GET(bcm_oam_endpoint_action_t *_action, int *_action_type);
void BCM_OAM_ACTION_SET(bcm_oam_endpoint_action_t *_action, int *_action_type);
void BCM_OAM_CONDITION_CLEAR(bcm_oam_conditions_t *_condition, bcm_oam_condition_t *_drop);
void BCM_OAM_CONDITION_CLEAR_ALL(bcm_oam_conditions_t *_condition);
int BCM_OAM_CONDITION_GET(bcm_oam_conditions_t *_condition, bcm_oam_condition_t *_drop);
void BCM_OAM_CONDITION_SET(bcm_oam_conditions_t *_condition, bcm_oam_condition_t *_drop);
void BCM_OAM_EVENT_TYPE_CLEAR(bcm_oam_event_types_t *_event_types, int *_event_type);
void BCM_OAM_EVENT_TYPE_CLEAR_ALL(bcm_oam_event_types_t *_event_types);
int BCM_OAM_EVENT_TYPE_GET(bcm_oam_event_types_t *_event_types, int *_event_type);
void BCM_OAM_EVENT_TYPE_SET(bcm_oam_event_types_t *_event_types, int *_event_type);
void BCM_OAM_EVENT_TYPE_SET_ALL(bcm_oam_event_types_t *_event_types);
void BCM_OAM_LOOKUP_TYPE_CLEAR(bcm_oam_lookup_types_t *_type, bcm_oam_lookup_type_t *_lookup_type);
void BCM_OAM_LOOKUP_TYPE_CLEAR_ALL(bcm_oam_lookup_types_t *_type);
int BCM_OAM_LOOKUP_TYPE_GET(bcm_oam_lookup_types_t *_type, bcm_oam_lookup_type_t *_lookup_type);
void BCM_OAM_LOOKUP_TYPE_SET(bcm_oam_lookup_types_t *_type, bcm_oam_lookup_type_t *_lookup_type);
void BCM_OAM_OPCODES_BITMAP_CLEAR(bcm_oam_opcodes_t *_opcodes_bitmap, int *_opcode_);
void BCM_OAM_OPCODES_BITMAP_CLEAR_ALL(bcm_oam_opcodes_t *_opcodes_bitmap);
int BCM_OAM_OPCODES_BITMAP_GET(bcm_oam_opcodes_t *_opcodes_bitmap, int *_opcode_);
void BCM_OAM_OPCODES_BITMAP_SET(bcm_oam_opcodes_t *_opcodes_bitmap, int *_opcode_);
void BCM_OAM_OPCODES_BITMAP_SET_ALL(bcm_oam_opcodes_t *_opcodes_bitmap);
void BCM_OAM_OPCODE_CLEAR(bcm_oam_endpoint_action_t *_action, int *_opcode);
void BCM_OAM_OPCODE_CLEAR_ALL(bcm_oam_endpoint_action_t *_action);
int BCM_OAM_OPCODE_GET(bcm_oam_endpoint_action_t *_action, int *_opcode);
void BCM_OAM_OPCODE_SET(bcm_oam_endpoint_action_t *_action, int *_opcode);
void bcm_oam_action_key_t_init(bcm_oam_action_key_t *action_key_ptr);
void bcm_oam_action_result_t_init(bcm_oam_action_result_t *action_result_ptr);
int bcm_oam_ais_add(int unit, bcm_oam_ais_t *ais_ptr);
int bcm_oam_ais_delete(int unit, bcm_oam_ais_t *ais_ptr);
int bcm_oam_ais_get(int unit, bcm_oam_ais_t *ais_ptr);
void bcm_oam_ais_t_init(bcm_oam_ais_t *ais_ptr);
int bcm_oam_control_get(int unit, bcm_oam_control_type_t type, uint64 *arg);
int bcm_oam_control_indexed_get(int unit, bcm_oam_control_key_t key, uint64 *arg);
int bcm_oam_control_indexed_set(int unit, bcm_oam_control_key_t key, uint64 arg);
int bcm_oam_control_set(int unit, bcm_oam_control_type_t type, uint64 arg);
int bcm_oam_csf_add(int unit, bcm_oam_csf_t *csf_ptr);
int bcm_oam_csf_delete(int unit, bcm_oam_csf_t *csf_ptr);
int bcm_oam_csf_get(int unit, bcm_oam_csf_t *csf_ptr);
void bcm_oam_csf_t_init(bcm_oam_csf_t *csf_ptr);
int bcm_oam_delay_add(int unit, bcm_oam_delay_t *delay_ptr);
int bcm_oam_delay_delete(int unit, bcm_oam_delay_t *delay_ptr);
int bcm_oam_delay_get(int unit, bcm_oam_delay_t *delay_ptr);
void bcm_oam_delay_t_init(bcm_oam_delay_t *delay_ptr);
int bcm_oam_detach(int unit);
int bcm_oam_endpoint_action_set(int unit, bcm_oam_endpoint_t id, bcm_oam_endpoint_action_t *action);
void bcm_oam_endpoint_action_t_init(bcm_oam_endpoint_action_t *action_ptr);
int bcm_oam_endpoint_create(int unit, bcm_oam_endpoint_info_t *endpoint_info);
int bcm_oam_endpoint_destroy(int unit, bcm_oam_endpoint_t endpoint);
int bcm_oam_endpoint_destroy_all(int unit, bcm_oam_group_t group);
int bcm_oam_endpoint_egress_intf_egress_attach(int unit, bcm_oam_endpoint_t endpoint_id, bcm_if_t egress_intf);
int bcm_oam_endpoint_egress_intf_egress_attach_get(int unit, bcm_oam_endpoint_t endpoint_id, int max_count, bcm_if_t *egress_intf, int *count);
int bcm_oam_endpoint_egress_intf_egress_detach(int unit, bcm_oam_endpoint_t endpoint_id, bcm_if_t egress_intf);
int bcm_oam_endpoint_faults_multi_get(int unit, uint32 flags, bcm_oam_protocol_type_t endpoint_protocol, uint32 max_endpoints, bcm_oam_endpoint_fault_t *faults, uint32 *endpoint_count);
int bcm_oam_endpoint_get(int unit, bcm_oam_endpoint_t endpoint, bcm_oam_endpoint_info_t *endpoint_info);
int bcm_oam_endpoint_gport_egress_attach(int unit, bcm_oam_endpoint_t endpoint, bcm_gport_t gport);
int bcm_oam_endpoint_gport_egress_attach_get(int unit, bcm_oam_endpoint_t endpoint, int max_count, bcm_gport_t *gport, int *count);
int bcm_oam_endpoint_gport_egress_detach(int unit, bcm_oam_endpoint_t endpoint, bcm_gport_t gport);
void bcm_oam_endpoint_info_t_init(bcm_oam_endpoint_info_t *endpoint_info);
int bcm_oam_endpoint_traverse(int unit, bcm_oam_group_t group, bcm_oam_endpoint_traverse_cb cb, void *user_data);
int bcm_oam_event_register(int unit, bcm_oam_event_types_t event_types, bcm_oam_event_cb cb, void *user_data);
int bcm_oam_event_unregister(int unit, bcm_oam_event_types_t event_types, bcm_oam_event_cb cb);
int bcm_oam_group_create(int unit, bcm_oam_group_info_t *group_info);
int bcm_oam_group_destroy(int unit, bcm_oam_group_t group);
int bcm_oam_group_destroy_all(int unit);
int bcm_oam_group_get(int unit, bcm_oam_group_t group, bcm_oam_group_info_t *group_info);
void bcm_oam_group_info_t_init(bcm_oam_group_info_t *group_info);
int bcm_oam_group_traverse(int unit, bcm_oam_group_traverse_cb cb, void *user_data);
int bcm_oam_init(int unit);
int bcm_oam_lif_profile_get(int unit, uint32 flags, bcm_gport_t gport, bcm_oam_profile_t *ingress_oam_profile, bcm_oam_profile_t *egress_oam_profile);
int bcm_oam_lif_profile_set(int unit, uint32 flags, bcm_gport_t gport, bcm_oam_profile_t ingress_oam_profile, bcm_oam_profile_t egress_oam_profile);
int bcm_oam_lookup_enable_get(int unit, bcm_oam_lookup_type_t type, bcm_oam_conditions_t *condition);
int bcm_oam_lookup_enable_multi_set(int unit, bcm_oam_lookup_types_t types, bcm_oam_conditions_t conditions, int enable);
int bcm_oam_lookup_enable_set(int unit, bcm_oam_lookup_type_t type, bcm_oam_condition_t condition, int enable);
int bcm_oam_loopback_add(int unit, bcm_oam_loopback_t *loopback_ptr);
int bcm_oam_loopback_delete(int unit, bcm_oam_loopback_t *loopback_ptr);
int bcm_oam_loopback_get(int unit, bcm_oam_loopback_t *loopback_ptr);
void bcm_oam_loopback_t_init(bcm_oam_loopback_t *loopback_ptr);
int bcm_oam_loss_add(int unit, bcm_oam_loss_t *loss_ptr);
int bcm_oam_loss_delete(int unit, bcm_oam_loss_t *loss_ptr);
int bcm_oam_loss_get(int unit, bcm_oam_loss_t *loss_ptr);
void bcm_oam_loss_t_init(bcm_oam_loss_t *loss_ptr);
int bcm_oam_mpls_tp_channel_type_rx_delete(int unit, bcm_oam_mpls_tp_channel_type_t channel_type, int num_values, int *list_of_values);
int bcm_oam_mpls_tp_channel_type_rx_get(int unit, bcm_oam_mpls_tp_channel_type_t channel_type, int num_values, int *list_of_values, int *value_count);
int bcm_oam_mpls_tp_channel_type_rx_set(int unit, bcm_oam_mpls_tp_channel_type_t channel_type, int num_values, int *list_of_values);
int bcm_oam_mpls_tp_channel_type_tx_delete(int unit, bcm_oam_mpls_tp_channel_type_t channel_type, int value);
int bcm_oam_mpls_tp_channel_type_tx_get(int unit, bcm_oam_mpls_tp_channel_type_t channel_type, int *value);
int bcm_oam_mpls_tp_channel_type_tx_set(int unit, bcm_oam_mpls_tp_channel_type_t channel_type, int value);
int bcm_oam_opcode_group_get(int unit, bcm_oam_protocol_type_t protocol, bcm_oam_opcode_t opcode, uint8 *opcode_group);
int bcm_oam_opcode_group_set(int unit, bcm_oam_protocol_type_t protocol, bcm_oam_opcodes_t opcodes, uint8 opcode_group);
int bcm_oam_opcode_map_get(int unit, int opcode, int *profile);
int bcm_oam_opcode_map_set(int unit, int opcode, int profile);
int bcm_oam_opcodes_count_profile_create(int unit, uint8 *lm_count_profile);
int bcm_oam_opcodes_count_profile_delete(int unit, uint8 lm_count_profile);
int bcm_oam_opcodes_count_profile_get(int unit, uint8 lm_count_profile, uint8 count_enable, bcm_oam_opcodes_t *opcodes_bitmap);
int bcm_oam_opcodes_count_profile_set(int unit, uint8 lm_count_profile, uint8 count_enable, bcm_oam_opcodes_t *opcodes_bitmap);
void bcm_oam_performance_event_data_t_init(bcm_oam_performance_event_data_t *performance_event_data_ptr);
int bcm_oam_performance_event_register(int unit, bcm_oam_event_types_t event_types, bcm_oam_performance_event_cb cb, void *user_data);
int bcm_oam_performance_event_unregister(int unit, bcm_oam_event_types_t event_types, bcm_oam_performance_event_cb cb);
int bcm_oam_pm_event_register(int unit, bcm_oam_event_types_t event_types, bcm_oam_pm_event_cb cb, void *user_data);
int bcm_oam_pm_event_unregister(int unit, bcm_oam_event_types_t event_types, bcm_oam_pm_event_cb cb);
int bcm_oam_pm_loss_stats_get(int unit, int loss_id, bcm_oam_pm_stats_t *stats_ptr);
int bcm_oam_pm_profile_attach(int unit, bcm_oam_endpoint_t endpoint_id, int profile_id);
int bcm_oam_pm_profile_attach_get(int unit, bcm_oam_endpoint_t endpoint_id, int *profile_id);
int bcm_oam_pm_profile_create(int unit, bcm_oam_pm_profile_info_t *profile_info);
int bcm_oam_pm_profile_delete(int unit, bcm_oam_pm_profile_t profile_id);
int bcm_oam_pm_profile_delete_all(int unit);
int bcm_oam_pm_profile_detach(int unit, bcm_oam_endpoint_t endpoint_id, int profile_id);
int bcm_oam_pm_profile_get(int unit, bcm_oam_pm_profile_info_t *profile_info);
int bcm_oam_pm_profile_traverse(int unit, bcm_oam_pm_profile_traverse_cb cb, void *user_data);
int bcm_oam_pm_raw_data_read_done(int unit, bcm_oam_event_types_t event_types, uint32 read_index);
int bcm_oam_pm_stats_get(int unit, bcm_oam_endpoint_t endpoint_id, bcm_oam_pm_stats_t *stats_ptr);
int bcm_oam_primary_vlan_create(int unit, bcm_oam_primary_vlan_info_t *primary_vlan_info);
int bcm_oam_primary_vlan_destroy(int unit, bcm_oam_primary_vlan_info_t *primary_vlan_info);
int bcm_oam_primary_vlan_get(int unit, bcm_oam_primary_vlan_info_t *primary_vlan_info);
void bcm_oam_primary_vlan_info_t_init(bcm_oam_primary_vlan_info_t *primary_vlan_info);
int bcm_oam_primary_vlan_traverse(int unit, bcm_oam_primary_vlan_traverse_cb trav_fn, void *user_data);
int bcm_oam_profile_action_get(int unit, uint32 flags, bcm_oam_profile_t profile_id, bcm_oam_action_key_t *oam_action_key, bcm_oam_action_result_t *oam_action_result);
int bcm_oam_profile_action_set(int unit, uint32 flags, bcm_oam_profile_t profile_id, bcm_oam_action_key_t *oam_action_key, bcm_oam_action_result_t *oam_action_result);
int bcm_oam_profile_create(int unit, uint32 flags, bcm_oam_profile_type_t oam_profile_type, bcm_oam_profile_t *profile_id);
int bcm_oam_profile_delete(int unit, uint32 flags, bcm_oam_profile_t profile_id);
int bcm_oam_profile_id_get_by_type(int unit, uint8 profile_id, bcm_oam_profile_type_t oam_profile_type, uint32 *flags, bcm_oam_profile_t *enc_profile_id);
int bcm_oam_protection_packet_header_get(int unit, bcm_pkt_blk_t *packet_header);
int bcm_oam_protection_packet_header_set(int unit, bcm_pkt_blk_t *packet_header);
int bcm_oam_psc_add(int unit, bcm_oam_psc_t *psc_ptr);
int bcm_oam_psc_delete(int unit, bcm_oam_psc_t *psc_ptr);
int bcm_oam_psc_get(int unit, bcm_oam_psc_t *psc_ptr);
void bcm_oam_psc_t_init(bcm_oam_psc_t *psc_ptr);
int bcm_oam_pw_status_add(int unit, bcm_oam_pw_status_t *pw_status_ptr);
int bcm_oam_pw_status_delete(int unit, bcm_oam_pw_status_t *pw_status_ptr);
int bcm_oam_pw_status_get(int unit, bcm_oam_pw_status_t *pw_status_ptr);
void bcm_oam_pw_status_t_init(bcm_oam_pw_status_t *pw_status_ptr);
int bcm_oam_reflector_encap_create(int unit, uint32 flags, bcm_if_t *encap_id);
int bcm_oam_reflector_encap_destroy(int unit, uint32 flags, bcm_if_t encap_id);
int bcm_oam_sd_sf_detection_add(int unit, bcm_oam_sd_sf_detection_t *sd_sf_ptr);
int bcm_oam_sd_sf_detection_delete(int unit, bcm_oam_sd_sf_detection_t *sd_sf_ptr);
int bcm_oam_sd_sf_detection_get(int unit, bcm_oam_sd_sf_detection_t *sd_sf_ptr);
void bcm_oam_sd_sf_detection_t_init(bcm_oam_sd_sf_detection_t *sd_sf_ptr);
int bcm_oam_test_id_tlv_dm_up_encap_create(int unit, uint32 flags, bcm_if_t *encap_id);  /* not in OpenBCM 6.5.27 */
int bcm_oam_test_id_tlv_dm_up_encap_destroy(int unit, uint32 flags, bcm_if_t encap_id);  /* not in OpenBCM 6.5.27 */
int bcm_oam_tod_leap_control_get(int unit, bcm_oam_timestamp_format_t ts_format, bcm_oam_tod_leap_control_t *leap_info);
int bcm_oam_tod_leap_control_set(int unit, bcm_oam_timestamp_format_t ts_format, bcm_oam_tod_leap_control_t leap_info);
int bcm_oam_trunk_ports_add(int unit, bcm_gport_t trunk_gport, int max_ports, bcm_gport_t *port_arr);
int bcm_oam_trunk_ports_delete(int unit, bcm_gport_t trunk_gport, int max_ports, bcm_gport_t *port_arr);
int bcm_oam_trunk_ports_get(int unit, bcm_gport_t trunk_gport, int max_ports, bcm_gport_t *port_arr, int *port_count);
int bcm_oam_tst_rx_add(int unit, bcm_oam_tst_rx_t *tst_ptr);
int bcm_oam_tst_rx_delete(int unit, bcm_oam_tst_rx_t *tst_ptr);
int bcm_oam_tst_rx_get(int unit, bcm_oam_tst_rx_t *tst_ptr);
void bcm_oam_tst_rx_t_init(bcm_oam_tst_rx_t *tst_rx_info);
int bcm_oam_tst_tx_add(int unit, bcm_oam_tst_tx_t *tst_ptr);
int bcm_oam_tst_tx_delete(int unit, bcm_oam_tst_tx_t *tst_ptr);
int bcm_oam_tst_tx_get(int unit, bcm_oam_tst_tx_t *tst_ptr);
void bcm_oam_tst_tx_t_init(bcm_oam_tst_tx_t *tst_tx_info);
int bcm_oam_upmep_cosq_get(int unit, bcm_oam_upmep_pdu_type_t upmep_pdu_type, bcm_cos_queue_t *cosq);
int bcm_oam_upmep_cosq_set(int unit, bcm_oam_upmep_pdu_type_t upmep_pdu_type, bcm_cos_queue_t cosq);
int bcm_oam_y_1711_alarm_add(int unit, bcm_oam_y_1711_alarm_t *alarm_ptr);
int bcm_oam_y_1711_alarm_delete(int unit, bcm_oam_y_1711_alarm_t *alarm_ptr);
int bcm_oam_y_1711_alarm_get(int unit, bcm_oam_y_1711_alarm_t *alarm_ptr);
void bcm_oam_y_1711_alarm_t_init(bcm_oam_y_1711_alarm_t *alarm_ptr);