|
int | opennsl_mpls_cleanup (int unit) LIB_DLL_EXPORTED |
| Detach the MPLS software module.
|
|
void | opennsl_mpls_egress_label_t_init (opennsl_mpls_egress_label_t *label) LIB_DLL_EXPORTED |
| Initialize the MPLS egress label structure.
|
|
int | opennsl_mpls_entropy_identifier_add (int unit, uint32 options, opennsl_mpls_entropy_identifier_t *info) LIB_DLL_EXPORTED |
| Add an MPLS Entropy Label Identifier.
|
|
int | opennsl_mpls_entropy_identifier_delete (int unit, opennsl_mpls_entropy_identifier_t *info) LIB_DLL_EXPORTED |
| Delete an MPLS Entropy Label Identifier.
|
|
int | opennsl_mpls_entropy_identifier_delete_all (int unit) LIB_DLL_EXPORTED |
| Delete all MPLS Entropy Label Identifiers.
|
|
int | opennsl_mpls_entropy_identifier_get (int unit, opennsl_mpls_entropy_identifier_t *info) LIB_DLL_EXPORTED |
| Get information about an MPLS Entropy Label Identifier.
|
|
void | opennsl_mpls_entropy_identifier_t_init (opennsl_mpls_entropy_identifier_t *info) LIB_DLL_EXPORTED |
| Initialize MPLS Entropy label identifier structure.
|
|
int | opennsl_mpls_entropy_identifier_traverse (int unit, opennsl_mpls_entropy_identifier_traverse_cb cb, void *user_data) LIB_DLL_EXPORTED |
| Traverse all valid MPLS entropy label identifier entries and call the supplied callback routine.
|
|
int | opennsl_mpls_exp_map_create (int unit, uint32 flags, int *exp_map_id) LIB_DLL_EXPORTED |
| Create an MPLS EXP map instance.
|
|
int | opennsl_mpls_exp_map_destroy (int unit, int exp_map_id) LIB_DLL_EXPORTED |
| Destroy an MPLS EXP map instance.
|
|
int | opennsl_mpls_exp_map_get (int unit, int exp_map_id, opennsl_mpls_exp_map_t *exp_map) LIB_DLL_EXPORTED |
| Get the EXP mapping parameters for the specified EXP map.
|
|
int | opennsl_mpls_exp_map_set (int unit, int exp_map_id, opennsl_mpls_exp_map_t *exp_map) LIB_DLL_EXPORTED |
| Set the EXP mapping parameters for the specified EXP map.
|
|
void | opennsl_mpls_exp_map_t_init (opennsl_mpls_exp_map_t *exp_map) LIB_DLL_EXPORTED |
| Initialize the MPLS EXP map structure.
|
|
int | opennsl_mpls_init (int unit) LIB_DLL_EXPORTED |
| Initialize the OPENNSL MPLS subsystem.
|
|
int | opennsl_mpls_label_stat_attach (int unit, opennsl_mpls_label_t label, opennsl_gport_t port, uint32 stat_counter_id) LIB_DLL_EXPORTED |
| Attach counters entries to the given MPLS label and gport.
|
|
int | opennsl_mpls_label_stat_clear (int unit, opennsl_mpls_label_t label, opennsl_gport_t port, opennsl_mpls_stat_t stat) LIB_DLL_EXPORTED |
| Clear MPLS Stats.
|
|
int | opennsl_mpls_label_stat_counter_get (int unit, opennsl_mpls_label_t label, opennsl_gport_t port, opennsl_mpls_stat_t stat, uint32 num_entries, uint32 *counter_indexes, opennsl_stat_value_t *counter_values) LIB_DLL_EXPORTED |
| Get counter statistic values for specific MPLS label and gport.
|
|
int | opennsl_mpls_label_stat_counter_set (int unit, opennsl_mpls_label_t label, opennsl_gport_t port, opennsl_mpls_stat_t stat, uint32 num_entries, uint32 *counter_indexes, opennsl_stat_value_t *counter_values) LIB_DLL_EXPORTED |
| Set counter statistic values for specific MPLS label and gport.
|
|
int | opennsl_mpls_label_stat_counter_sync_get (int unit, opennsl_mpls_label_t label, opennsl_gport_t port, opennsl_mpls_stat_t stat, uint32 num_entries, uint32 *counter_indexes, opennsl_stat_value_t *counter_values) LIB_DLL_EXPORTED |
| Force an immediate counter update and retrieve counter statistic values for specific MPLS label and gport.
|
|
int | opennsl_mpls_label_stat_detach (int unit, opennsl_mpls_label_t label, opennsl_gport_t port) LIB_DLL_EXPORTED |
| Detach counters entries to the given MPLS label and gport.
|
|
int | opennsl_mpls_label_stat_enable_set (int unit, opennsl_mpls_label_t label, opennsl_gport_t port, int enable) LIB_DLL_EXPORTED |
| Enable/disable statistics collection for MPLS label or MPLS gport.
|
|
int | opennsl_mpls_label_stat_get (int unit, opennsl_mpls_label_t label, opennsl_gport_t port, opennsl_mpls_stat_t stat, uint64 *val) LIB_DLL_EXPORTED |
| Get MPLS Stats.
|
|
int | opennsl_mpls_label_stat_get32 (int unit, opennsl_mpls_label_t label, opennsl_gport_t port, opennsl_mpls_stat_t stat, uint32 *val) LIB_DLL_EXPORTED |
| Get MPLS Stats.
|
|
int | opennsl_mpls_label_stat_id_get (int unit, opennsl_mpls_label_t label, opennsl_gport_t port, opennsl_mpls_stat_t stat, uint32 *stat_counter_id) LIB_DLL_EXPORTED |
| Get stat counter ID associated with given MPLS label and gport.
|
|
int | opennsl_mpls_label_stat_sync_get (int unit, opennsl_mpls_label_t label, opennsl_gport_t port, opennsl_mpls_stat_t stat, uint64 *val) LIB_DLL_EXPORTED |
| Force an immediate counter update and retrieve MPLS Stats.
|
|
int | opennsl_mpls_label_stat_sync_get32 (int unit, opennsl_mpls_label_t label, opennsl_gport_t port, opennsl_mpls_stat_t stat, uint32 *val) LIB_DLL_EXPORTED |
| Force an immediate counter update and retrieve MPLS Stats.
|
|
int | opennsl_mpls_port_add (int unit, opennsl_vpn_t vpn, opennsl_mpls_port_t *mpls_port) LIB_DLL_EXPORTED |
| Add an MPLS port to an L2 VPN.
|
|
int | opennsl_mpls_port_delete (int unit, opennsl_vpn_t vpn, opennsl_gport_t mpls_port_id) LIB_DLL_EXPORTED |
| Delete an MPLS port from an L2 VPN.
|
|
int | opennsl_mpls_port_delete_all (int unit, opennsl_vpn_t vpn) LIB_DLL_EXPORTED |
| Delete an MPLS port from an L2 VPN.
|
|
int | opennsl_mpls_port_get (int unit, opennsl_vpn_t vpn, opennsl_mpls_port_t *mpls_port) LIB_DLL_EXPORTED |
| Get an MPLS port from an L2 VPN.
|
|
int | opennsl_mpls_port_get_all (int unit, opennsl_vpn_t vpn, int port_max, opennsl_mpls_port_t *port_array, int *port_count) LIB_DLL_EXPORTED |
| Get all MPLS ports from an L2 VPN.
|
|
int | opennsl_mpls_port_stat_attach (int unit, opennsl_vpn_t vpn, opennsl_gport_t port, uint32 stat_counter_id) LIB_DLL_EXPORTED |
| Attach counters entries to the given MPLS gport and vpn.
|
|
int | opennsl_mpls_port_stat_counter_get (int unit, opennsl_vpn_t vpn, opennsl_gport_t port, opennsl_mpls_stat_t stat, uint32 num_entries, uint32 *counter_indexes, opennsl_stat_value_t *counter_values) LIB_DLL_EXPORTED |
| Get counter statistic values for specific vpn and gport.
|
|
int | opennsl_mpls_port_stat_counter_set (int unit, opennsl_vpn_t vpn, opennsl_gport_t port, opennsl_mpls_stat_t stat, uint32 num_entries, uint32 *counter_indexes, opennsl_stat_value_t *counter_values) LIB_DLL_EXPORTED |
| Set counter statistic values for specific vpn and gport.
|
|
int | opennsl_mpls_port_stat_counter_sync_get (int unit, opennsl_vpn_t vpn, opennsl_gport_t port, opennsl_mpls_stat_t stat, uint32 num_entries, uint32 *counter_indexes, opennsl_stat_value_t *counter_values) LIB_DLL_EXPORTED |
| Force an immediate counter update and retrieve get counter statistic values for specific vpn and gport.
|
|
int | opennsl_mpls_port_stat_detach (int unit, opennsl_vpn_t vpn, opennsl_gport_t port) LIB_DLL_EXPORTED |
| Detach counters entries to the given MPLS port and vpn.
|
|
int | opennsl_mpls_port_stat_enable_set (int unit, opennsl_gport_t mpls_port, int enable) LIB_DLL_EXPORTED |
| Enable or disable collection of MPLS port statistics.
|
|
int | opennsl_mpls_port_stat_get (int unit, opennsl_gport_t mpls_port, opennsl_cos_t cos, opennsl_mpls_port_stat_t stat, uint64 *val) LIB_DLL_EXPORTED |
| Get the specified statistics per MPLS/MEF port.
|
|
int | opennsl_mpls_port_stat_get32 (int unit, opennsl_gport_t mpls_port, opennsl_cos_t cos, opennsl_mpls_port_stat_t stat, uint32 *val) LIB_DLL_EXPORTED |
| Get the specified statistics per MPLS/MEF port.
|
|
int | opennsl_mpls_port_stat_id_get (int unit, opennsl_vpn_t vpn, opennsl_gport_t port, opennsl_mpls_stat_t stat, uint32 *stat_counter_id) LIB_DLL_EXPORTED |
| Get stat counter ID associated with given MPLS gport and VPN.
|
|
int | opennsl_mpls_port_stat_set (int unit, opennsl_gport_t mpls_port, opennsl_cos_t cos, opennsl_mpls_port_stat_t stat, uint64 val) LIB_DLL_EXPORTED |
| Set the specified statistic to the indicated value.
|
|
int | opennsl_mpls_port_stat_set32 (int unit, opennsl_gport_t mpls_port, opennsl_cos_t cos, opennsl_mpls_port_stat_t stat, uint32 val) LIB_DLL_EXPORTED |
|
void | opennsl_mpls_port_t_init (opennsl_mpls_port_t *mpls_port) LIB_DLL_EXPORTED |
| Initialize the MPLS port structure.
|
|
int | opennsl_mpls_range_action_add (int unit, opennsl_mpls_label_t label_low, opennsl_mpls_label_t label_high, opennsl_mpls_range_action_t *action) LIB_DLL_EXPORTED |
| Set range of labels per in lif.
|
|
int | opennsl_mpls_range_action_get (int unit, opennsl_mpls_label_t label_low, opennsl_mpls_label_t label_high, opennsl_mpls_range_action_t *action) LIB_DLL_EXPORTED |
| Get range of labels per in lif.
|
|
int | opennsl_mpls_range_action_remove (int unit, opennsl_mpls_label_t label_low, opennsl_mpls_label_t label_high) LIB_DLL_EXPORTED |
| Remove range of labels per in lif.
|
|
void | opennsl_mpls_range_action_t_init (opennsl_mpls_range_action_t *label) LIB_DLL_EXPORTED |
| Initialize the MPLS range action structure.
|
|
int | opennsl_mpls_tunnel_initiator_clear (int unit, opennsl_if_t intf) LIB_DLL_EXPORTED |
| Clear the MPLS tunnel initiator parameters for an L3 interface.
|
|
int | opennsl_mpls_tunnel_initiator_clear_all (int unit) LIB_DLL_EXPORTED |
| Clear all MPLS tunnel initiator information.
|
|
int | opennsl_mpls_tunnel_initiator_create (int unit, opennsl_if_t intf, int num_labels, opennsl_mpls_egress_label_t *label_array) LIB_DLL_EXPORTED |
|
int | opennsl_mpls_tunnel_initiator_get (int unit, opennsl_if_t intf, int label_max, opennsl_mpls_egress_label_t *label_array, int *label_count) LIB_DLL_EXPORTED |
| Get the MPLS tunnel initiator parameters from an L3 interface.
|
|
int | opennsl_mpls_tunnel_initiator_set (int unit, opennsl_if_t intf, int num_labels, opennsl_mpls_egress_label_t *label_array) LIB_DLL_EXPORTED |
| Set the MPLS tunnel initiator parameters for an L3 interface.
|
|
int | opennsl_mpls_tunnel_stat_attach (int unit, opennsl_if_t intf_id, uint32 stat_counter_id) LIB_DLL_EXPORTED |
| Attach statistics entity to the MPLS tunnel derived from the given L3 Egress interface.
|
|
int | opennsl_mpls_tunnel_stat_counter_get (int unit, opennsl_if_t intf_id, opennsl_mpls_stat_t stat, uint32 num_entries, uint32 *counter_indexes, opennsl_stat_value_t *counter_values) LIB_DLL_EXPORTED |
| Get counter value for the specified MPLS statistic type and Tunnel interface derived from the given L3 interface ID.
|
|
int | opennsl_mpls_tunnel_stat_counter_set (int unit, opennsl_if_t intf_id, opennsl_mpls_stat_t stat, uint32 num_entries, uint32 *counter_indexes, opennsl_stat_value_t *counter_values) LIB_DLL_EXPORTED |
| Set the counter value for the specified MPLS statistic type and Tunnel interface derived derived from the given L3 Interface ID.
|
|
int | opennsl_mpls_tunnel_stat_counter_sync_get (int unit, opennsl_if_t intf_id, opennsl_mpls_stat_t stat, uint32 num_entries, uint32 *counter_indexes, opennsl_stat_value_t *counter_values) LIB_DLL_EXPORTED |
| Force an immediate counter update and retrieve the specified counter statistic for a MPLS tunnel.
|
|
int | opennsl_mpls_tunnel_stat_detach (int unit, opennsl_if_t intf_id) LIB_DLL_EXPORTED |
| Detach statistics entity to the MPLS tunnel derived from the given L3 Egress interface.
|
|
int | opennsl_mpls_tunnel_stat_id_get (int unit, opennsl_if_t intf_id, opennsl_mpls_stat_t stat, uint32 *stat_counter_id) LIB_DLL_EXPORTED |
| Get stat counter ID associated with the MPLS tunnel derived from the given L3 interface ID.
|
|
int | opennsl_mpls_tunnel_switch_add (int unit, opennsl_mpls_tunnel_switch_t *info) LIB_DLL_EXPORTED |
| Add an MPLS label entry.
|
|
int | opennsl_mpls_tunnel_switch_create (int unit, opennsl_mpls_tunnel_switch_t *info) LIB_DLL_EXPORTED |
| Add an MPLS label entry.
|
|
int | opennsl_mpls_tunnel_switch_delete (int unit, opennsl_mpls_tunnel_switch_t *info) LIB_DLL_EXPORTED |
| Delete an MPLS label entry.
|
|
int | opennsl_mpls_tunnel_switch_delete_all (int unit) LIB_DLL_EXPORTED |
| Delete all MPLS label entries.
|
|
int | opennsl_mpls_tunnel_switch_get (int unit, opennsl_mpls_tunnel_switch_t *info) LIB_DLL_EXPORTED |
| Get an MPLS label entry.
|
|
void | opennsl_mpls_tunnel_switch_t_init (opennsl_mpls_tunnel_switch_t *info) LIB_DLL_EXPORTED |
| Initialize the MPLS tunnel switch structure.
|
|
int | opennsl_mpls_tunnel_switch_traverse (int unit, opennsl_mpls_tunnel_switch_traverse_cb cb, void *user_data) LIB_DLL_EXPORTED |
| Traverse all valid MPLS label entries and call the supplied callback routine.
|
|
void | opennsl_mpls_vpn_config_t_init (opennsl_mpls_vpn_config_t *info) LIB_DLL_EXPORTED |
| Initialize the MPLS VPN config structure.
|
|
int | opennsl_mpls_vpn_id_create (int unit, opennsl_mpls_vpn_config_t *info) LIB_DLL_EXPORTED |
| Create an MPLS VPN.
|
|
int | opennsl_mpls_vpn_id_destroy (int unit, opennsl_vpn_t vpn) LIB_DLL_EXPORTED |
| Destroy an MPLS VPN.
|
|
int | opennsl_mpls_vpn_id_destroy_all (int unit) LIB_DLL_EXPORTED |
| Destroy an MPLS VPN.
|
|
int | opennsl_mpls_vpn_id_get (int unit, opennsl_vpn_t vpn, opennsl_mpls_vpn_config_t *info) LIB_DLL_EXPORTED |
| Get an MPLS VPN.
|
|
int | opennsl_mpls_vpn_traverse (int unit, opennsl_mpls_vpn_traverse_cb cb, void *user_data) LIB_DLL_EXPORTED |
| Traverse all valid MPLS VPN entries and call the supplied callback routine.
|
|