|
int | opennsl_port_ability_advert_get (int unit, opennsl_port_t port, opennsl_port_ability_t *ability_mask) LIB_DLL_EXPORTED |
| Set or retrieve auto-negotiation abilities for a port.
|
|
int | opennsl_port_ability_advert_set (int unit, opennsl_port_t port, opennsl_port_ability_t *ability_mask) LIB_DLL_EXPORTED |
| Set or retrieve auto-negotiation abilities for a port.
|
|
int | opennsl_port_ability_get (int unit, opennsl_port_t port, opennsl_port_abil_t *local_ability_mask) LIB_DLL_EXPORTED |
|
int | opennsl_port_ability_local_get (int unit, opennsl_port_t port, opennsl_port_ability_t *local_ability_mask) LIB_DLL_EXPORTED |
| Retrieve the valid abilities of a local port.
|
|
int | opennsl_port_ability_remote_get (int unit, opennsl_port_t port, opennsl_port_ability_t *ability_mask) LIB_DLL_EXPORTED |
| Retrieve the valid abilities of a remote port.
|
|
void | opennsl_port_ability_t_init (opennsl_port_ability_t *ability) LIB_DLL_EXPORTED |
| Initialize a Port Ability structure.
|
|
int | opennsl_port_advert_get (int unit, opennsl_port_t port, opennsl_port_abil_t *ability_mask) LIB_DLL_EXPORTED |
|
int | opennsl_port_advert_remote_get (int unit, opennsl_port_t port, opennsl_port_abil_t *ability_mask) LIB_DLL_EXPORTED |
|
int | opennsl_port_advert_set (int unit, opennsl_port_t port, opennsl_port_abil_t ability_mask) LIB_DLL_EXPORTED |
|
int | opennsl_port_autoneg_get (int unit, opennsl_port_t port, int *autoneg) LIB_DLL_EXPORTED |
| Configure or retrieve the current auto-negotiation settings for a port, or restart auto-negotiation if already enabled.
|
|
int | opennsl_port_autoneg_set (int unit, opennsl_port_t port, int autoneg) LIB_DLL_EXPORTED |
| Configure or retrieve the current auto-negotiation settings for a port, or restart auto-negotiation if already enabled.
|
|
int | opennsl_port_class_get (int unit, opennsl_port_t port, opennsl_port_class_t pclass, uint32 *class_id) LIB_DLL_EXPORTED |
| Set or get port classification ID to aggregate a group of ports for further processing such as VLAN translation and field processing.
|
|
int | opennsl_port_class_set (int unit, opennsl_port_t port, opennsl_port_class_t pclass, uint32 class_id) LIB_DLL_EXPORTED |
| Set or get port classification ID to aggregate a group of ports for further processing such as VLAN translation and field processing.
|
|
int | opennsl_port_clear (int unit) LIB_DLL_EXPORTED |
| Initialize the port subsystem without affecting the current state of stack ports.
|
|
int | opennsl_port_config_get (int unit, opennsl_port_config_t *config) LIB_DLL_EXPORTED |
| Retrieved the port configuration for the specified device.
|
|
void | opennsl_port_config_t_init (opennsl_port_config_t *pconfig) LIB_DLL_EXPORTED |
| Initialize a Port Configuration structure.
|
|
int | opennsl_port_control_get (int unit, opennsl_port_t port, opennsl_port_control_t type, int *value) LIB_DLL_EXPORTED |
| Get or set various features at the port level.
|
|
int | opennsl_port_control_set (int unit, opennsl_port_t port, opennsl_port_control_t type, int value) LIB_DLL_EXPORTED |
| Get or set various features at the port level.
|
|
int | opennsl_port_detach (int unit, opennsl_pbmp_t pbmp, opennsl_pbmp_t *detached) LIB_DLL_EXPORTED |
| Detach ports from the OPENNSL API.
|
|
int | opennsl_port_dscp_map_get (int unit, opennsl_port_t port, int srccp, int *mapcp, int *prio) LIB_DLL_EXPORTED |
| Control mapping of Differentiated Services Code Points (DSCP).
|
|
int | opennsl_port_dscp_map_mode_get (int unit, opennsl_port_t port, int *mode) LIB_DLL_EXPORTED |
| Control mapping of Differentiated Services Code Points (DSCP).
|
|
int | opennsl_port_dscp_map_mode_set (int unit, opennsl_port_t port, int mode) LIB_DLL_EXPORTED |
| Control mapping of Differentiated Services Code Points (DSCP).
|
|
int | opennsl_port_dscp_map_set (int unit, opennsl_port_t port, int srccp, int mapcp, int prio) LIB_DLL_EXPORTED |
| Control mapping of Differentiated Services Code Points (DSCP).
|
|
int | opennsl_port_dtag_mode_get (int unit, opennsl_port_t port, int *mode) LIB_DLL_EXPORTED |
| Set or retrieve the current double tagging mode for a port.
|
|
int | opennsl_port_dtag_mode_set (int unit, opennsl_port_t port, int mode) LIB_DLL_EXPORTED |
| Set or retrieve the current double tagging mode for a port.
|
|
int | opennsl_port_duplex_get (int unit, opennsl_port_t port, int *duplex) LIB_DLL_EXPORTED |
| Get or set the current duplex mode of a port.
|
|
int | opennsl_port_duplex_set (int unit, opennsl_port_t port, int duplex) LIB_DLL_EXPORTED |
| Get or set the current duplex mode of a port.
|
|
int | opennsl_port_egress_get (int unit, opennsl_port_t port, int modid, opennsl_pbmp_t *pbmp) LIB_DLL_EXPORTED |
| Configure ports to block or allow packets from a given ingress port.
|
|
int | opennsl_port_egress_set (int unit, opennsl_port_t port, int modid, opennsl_pbmp_t pbmp) LIB_DLL_EXPORTED |
| Configure ports to block or allow packets from a given ingress port.
|
|
int | opennsl_port_enable_get (int unit, opennsl_port_t port, int *enable) LIB_DLL_EXPORTED |
| Enable or disable a port.
|
|
int | opennsl_port_enable_set (int unit, opennsl_port_t port, int enable) LIB_DLL_EXPORTED |
| Enable or disable a port.
|
|
int | opennsl_port_flood_block_get (int unit, opennsl_port_t ingress_port, opennsl_port_t egress_port, uint32 *flags) LIB_DLL_EXPORTED |
| Selectively block flooding traffic.
|
|
int | opennsl_port_flood_block_set (int unit, opennsl_port_t ingress_port, opennsl_port_t egress_port, uint32 flags) LIB_DLL_EXPORTED |
| Selectively block flooding traffic.
|
|
int | opennsl_port_frame_max_get (int unit, opennsl_port_t port, int *size) LIB_DLL_EXPORTED |
| Set or retrieve the current maximum packet size permitted on a port.
|
|
int | opennsl_port_frame_max_set (int unit, opennsl_port_t port, int size) LIB_DLL_EXPORTED |
| Set or retrieve the current maximum packet size permitted on a port.
|
|
int | opennsl_port_gport_get (int unit, opennsl_port_t port, opennsl_gport_t *gport) LIB_DLL_EXPORTED |
| Get the GPORT ID for the specified local port number.
|
|
int | opennsl_port_ifilter_set (int unit, opennsl_port_t port, int mode) LIB_DLL_EXPORTED |
| Set or retrieve current behavior of tagged packets arriving on a port not a member of the specified VLAN.
|
|
void | opennsl_port_info_t_init (opennsl_port_info_t *info) LIB_DLL_EXPORTED |
| Initializes the opennsl_port_info_t structure.
|
|
int | opennsl_port_init (int unit) LIB_DLL_EXPORTED |
| Initialize the port subsystem.
|
|
int | opennsl_port_interface_get (int unit, opennsl_port_t port, opennsl_port_if_t *intf) LIB_DLL_EXPORTED |
| Configure the physical interface between the MAC and the PHY for the specified port.
|
|
int | opennsl_port_interface_set (int unit, opennsl_port_t port, opennsl_port_if_t intf) LIB_DLL_EXPORTED |
| Configure the physical interface between the MAC and the PHY for the specified port.
|
|
int | opennsl_port_l3_mtu_get (int unit, opennsl_port_t port, int *size) LIB_DLL_EXPORTED |
| Set or retrieve the current maximum L3 packet size permitted on a port.
|
|
int | opennsl_port_l3_mtu_set (int unit, opennsl_port_t port, int size) LIB_DLL_EXPORTED |
| Set or retrieve the current maximum L3 packet size permitted on a port.
|
|
int | opennsl_port_learn_get (int unit, opennsl_port_t port, uint32 *flags) LIB_DLL_EXPORTED |
| Control the hardware and software learning support on a port.
|
|
int | opennsl_port_learn_set (int unit, opennsl_port_t port, uint32 flags) LIB_DLL_EXPORTED |
| Control the hardware and software learning support on a port.
|
|
int | opennsl_port_link_failed_clear (int unit, opennsl_port_t port) LIB_DLL_EXPORTED |
| Clear failed link status from a port which has undergone LAG failover.
|
|
int | opennsl_port_link_status_get (int unit, opennsl_port_t port, int *status) LIB_DLL_EXPORTED |
| Retrieve the current link status of a port.
|
|
int | opennsl_port_linkscan_get (int unit, opennsl_port_t port, int *linkscan) LIB_DLL_EXPORTED |
| Get or set the current linkscan mode for the specified port.
|
|
int | opennsl_port_linkscan_set (int unit, opennsl_port_t port, int linkscan) LIB_DLL_EXPORTED |
| Get or set the current linkscan mode for the specified port.
|
|
int | opennsl_port_local_get (int unit, opennsl_gport_t gport, opennsl_port_t *local_port) LIB_DLL_EXPORTED |
| Get local port number encoded within a GPORT ID.
|
|
int | opennsl_port_loopback_get (int unit, opennsl_port_t port, int *loopback) LIB_DLL_EXPORTED |
| Set or retrieve the current loopback mode of a port.
|
|
int | opennsl_port_loopback_set (int unit, opennsl_port_t port, int loopback) LIB_DLL_EXPORTED |
| Set or retrieve the current loopback mode of a port.
|
|
char * | opennsl_port_name (int unit, int port) LIB_DLL_EXPORTED |
|
int | opennsl_port_pause_addr_get (int unit, opennsl_port_t port, opennsl_mac_t mac) LIB_DLL_EXPORTED |
| Get or set the source MAC address transmitted in MAC control pause frames.
|
|
int | opennsl_port_pause_addr_set (int unit, opennsl_port_t port, opennsl_mac_t mac) LIB_DLL_EXPORTED |
| Get or set the source MAC address transmitted in MAC control pause frames.
|
|
int | opennsl_port_pause_get (int unit, opennsl_port_t port, int *pause_tx, int *pause_rx) LIB_DLL_EXPORTED |
| Enable or disable transmission of pause frames and honoring received pause frames on a port.
|
|
int | opennsl_port_pause_set (int unit, opennsl_port_t port, int pause_tx, int pause_rx) LIB_DLL_EXPORTED |
| Enable or disable transmission of pause frames and honoring received pause frames on a port.
|
|
int | opennsl_port_pause_sym_get (int unit, opennsl_port_t port, int *pause) LIB_DLL_EXPORTED |
| Configure or retrieve asymmetric pause setting for a port.
|
|
int | opennsl_port_pause_sym_set (int unit, opennsl_port_t port, int pause) LIB_DLL_EXPORTED |
| Configure or retrieve asymmetric pause setting for a port.
|
|
int | opennsl_port_phy_control_get (int unit, opennsl_port_t port, opennsl_port_phy_control_t type, uint32 *value) LIB_DLL_EXPORTED |
| Set/Get PHY specific configurations.
|
|
int | opennsl_port_phy_control_set (int unit, opennsl_port_t port, opennsl_port_phy_control_t type, uint32 value) LIB_DLL_EXPORTED |
| Set/Get PHY specific configurations.
|
|
int | opennsl_port_phy_modify (int unit, opennsl_port_t port, uint32 flags, uint32 phy_reg_addr, uint32 phy_data, uint32 phy_mask) LIB_DLL_EXPORTED |
| Read or write PHY registers associated with a port.
|
|
int | opennsl_port_priority_color_get (int unit, opennsl_port_t port, int prio, opennsl_color_t *color) LIB_DLL_EXPORTED |
| Set or retrieve color assignment for a given port and priority.
|
|
int | opennsl_port_priority_color_set (int unit, opennsl_port_t port, int prio, opennsl_color_t color) LIB_DLL_EXPORTED |
| Set or retrieve color assignment for a given port and priority.
|
|
int | opennsl_port_priority_group_config_get (int unit, opennsl_gport_t gport, int priority_group, opennsl_port_priority_group_config_t *prigrp_config) LIB_DLL_EXPORTED |
| Set/get the port priority group configuration.
|
|
int | opennsl_port_priority_group_config_set (int unit, opennsl_gport_t gport, int priority_group, opennsl_port_priority_group_config_t *prigrp_config) LIB_DLL_EXPORTED |
| Set/get the port priority group configuration.
|
|
void | opennsl_port_priority_group_config_t_init (opennsl_port_priority_group_config_t *prigrp_config) LIB_DLL_EXPORTED |
| Initialize a port priority group configuration struct.
|
|
int | opennsl_port_priority_group_mapping_get (int unit, opennsl_gport_t gport, int prio, int *priority_group) LIB_DLL_EXPORTED |
| Assign/retrieve the Priority Group mapped to the input priority.
|
|
int | opennsl_port_priority_group_mapping_set (int unit, opennsl_gport_t gport, int prio, int priority_group) LIB_DLL_EXPORTED |
| Assign/retrieve the Priority Group mapped to the input priority.
|
|
int | opennsl_port_probe (int unit, opennsl_pbmp_t pbmp, opennsl_pbmp_t *okay_pbmp) LIB_DLL_EXPORTED |
| Probe the port to determine the proper MAC and PHY drivers.
|
|
int | opennsl_port_queued_count_get (int unit, opennsl_port_t port, uint32 *count) LIB_DLL_EXPORTED |
| Get the current count of cells or packets queued on a port for transmission.
|
|
int | opennsl_port_sample_rate_get (int unit, opennsl_port_t port, int *ingress_rate, int *egress_rate) LIB_DLL_EXPORTED |
| Control the sampling of packets ingressing or egressing a port.
|
|
int | opennsl_port_sample_rate_set (int unit, opennsl_port_t port, int ingress_rate, int egress_rate) LIB_DLL_EXPORTED |
| Control the sampling of packets ingressing or egressing a port.
|
|
int | opennsl_port_selective_get (int unit, opennsl_port_t port, opennsl_port_info_t *info) LIB_DLL_EXPORTED |
| Get or set multiple port characteristics.
|
|
int | opennsl_port_selective_set (int unit, opennsl_port_t port, opennsl_port_info_t *info) LIB_DLL_EXPORTED |
| Get or set multiple port characteristics.
|
|
int | opennsl_port_speed_get (int unit, opennsl_port_t port, int *speed) LIB_DLL_EXPORTED |
| Get or set the current operating speed of a port.
|
|
int | opennsl_port_speed_max (int unit, opennsl_port_t port, int *speed) LIB_DLL_EXPORTED |
| Get or set the current operating speed of a port.
|
|
int | opennsl_port_speed_set (int unit, opennsl_port_t port, int speed) LIB_DLL_EXPORTED |
| Get or set the current operating speed of a port.
|
|
int | opennsl_port_stat_enable_set (int unit, opennsl_gport_t port, int enable) LIB_DLL_EXPORTED |
| Enable/disable packet and byte counters for the selected gport.
|
|
int | opennsl_port_stp_get (int unit, opennsl_port_t port, int *state) LIB_DLL_EXPORTED |
| Set the spanning tree state for a port (single instance spanning tree only).
|
|
int | opennsl_port_stp_set (int unit, opennsl_port_t port, int state) LIB_DLL_EXPORTED |
| Set the spanning tree state for a port (single instance spanning tree only).
|
|
int | opennsl_port_subsidiary_ports_get (int unit, opennsl_port_t port, opennsl_pbmp_t *pbmp) LIB_DLL_EXPORTED |
| Get the list of ancillary/flex ports belonging to the same port block as the controlling port.
|
|
int | opennsl_port_untagged_priority_get (int unit, opennsl_port_t port, int *priority) LIB_DLL_EXPORTED |
| Get or set the default priority for packets that ingress untagged.
|
|
int | opennsl_port_untagged_priority_set (int unit, opennsl_port_t port, int priority) LIB_DLL_EXPORTED |
| Get or set the default priority for packets that ingress untagged.
|
|
int | opennsl_port_untagged_vlan_get (int unit, opennsl_port_t port, opennsl_vlan_t *vid_ptr) LIB_DLL_EXPORTED |
| Get or set the default VLAN for packets that ingress untagged.
|
|
int | opennsl_port_untagged_vlan_set (int unit, opennsl_port_t port, opennsl_vlan_t vid) LIB_DLL_EXPORTED |
| Get or set the default VLAN for packets that ingress untagged.
|
|
int | opennsl_port_vlan_member_get (int unit, opennsl_port_t port, uint32 *flags) LIB_DLL_EXPORTED |
| Set or retrieve current behavior of tagged packets arriving/leaving on a port not a member of the specified VLAN.
|
|
int | opennsl_port_vlan_member_set (int unit, opennsl_port_t port, uint32 flags) LIB_DLL_EXPORTED |
| Set or retrieve current behavior of tagged packets arriving/leaving on a port not a member of the specified VLAN.
|
|
int | opennsl_port_vlan_priority_map_get (int unit, opennsl_port_t port, int pkt_pri, int cfi, int *internal_pri, opennsl_color_t *color) LIB_DLL_EXPORTED |
|
int | opennsl_port_vlan_priority_map_set (int unit, opennsl_port_t port, int pkt_pri, int cfi, int internal_pri, opennsl_color_t color) LIB_DLL_EXPORTED |
|