SAI Metadata
|
This module defines SAI STP interface. More...
#include <saitypes.h>
Go to the source code of this file.
Classes | |
struct | _sai_stp_api_t |
STP method table retrieved with sai_api_query() More... | |
Typedefs | |
typedef enum _sai_stp_port_state_t | sai_stp_port_state_t |
Data structure for STP port state. | |
typedef enum _sai_stp_attr_t | sai_stp_attr_t |
SAI attributes for STP. | |
typedef enum _sai_stp_port_attr_t | sai_stp_port_attr_t |
SAI attributes for STP. | |
typedef sai_status_t(* | sai_create_stp_fn) (_Out_ sai_object_id_t *stp_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list) |
Create STP instance with default port state as blocking. | |
typedef sai_status_t(* | sai_remove_stp_fn) (_In_ sai_object_id_t stp_id) |
Remove STP instance. | |
typedef sai_status_t(* | sai_set_stp_attribute_fn) (_In_ sai_object_id_t stp_id, _In_ const sai_attribute_t *attr) |
Set the attribute of STP instance. | |
typedef sai_status_t(* | sai_get_stp_attribute_fn) (_In_ sai_object_id_t stp_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list) |
Get the attribute of STP instance. | |
typedef sai_status_t(* | sai_create_stp_port_fn) (_Out_ sai_object_id_t *stp_port_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list) |
Create STP port object. | |
typedef sai_status_t(* | sai_remove_stp_port_fn) (_In_ sai_object_id_t stp_port_id) |
Remove STP port object. | |
typedef sai_status_t(* | sai_set_stp_port_attribute_fn) (_In_ sai_object_id_t stp_port_id, _In_ const sai_attribute_t *attr) |
Set the attribute of STP port. | |
typedef sai_status_t(* | sai_get_stp_port_attribute_fn) (_In_ sai_object_id_t stp_port_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list) |
Get the attribute of STP port. | |
typedef struct _sai_stp_api_t | sai_stp_api_t |
STP method table retrieved with sai_api_query() | |
Enumerations | |
enum | _sai_stp_port_state_t { SAI_STP_PORT_STATE_LEARNING , SAI_STP_PORT_STATE_FORWARDING , SAI_STP_PORT_STATE_BLOCKING } |
Data structure for STP port state. More... | |
enum | _sai_stp_attr_t { SAI_STP_ATTR_START , SAI_STP_ATTR_VLAN_LIST = SAI_STP_ATTR_START , SAI_STP_ATTR_BRIDGE_ID , SAI_STP_ATTR_PORT_LIST , SAI_STP_ATTR_END , SAI_STP_ATTR_CUSTOM_RANGE_START = 0x10000000 , SAI_STP_ATTR_CUSTOM_RANGE_END } |
SAI attributes for STP. More... | |
enum | _sai_stp_port_attr_t { SAI_STP_PORT_ATTR_START , SAI_STP_PORT_ATTR_STP = SAI_STP_PORT_ATTR_START , SAI_STP_PORT_ATTR_BRIDGE_PORT , SAI_STP_PORT_ATTR_STATE , SAI_STP_PORT_ATTR_END , SAI_STP_PORT_ATTR_CUSTOM_RANGE_START = 0x10000000 , SAI_STP_PORT_ATTR_CUSTOM_RANGE_END } |
SAI attributes for STP. More... | |
This module defines SAI STP interface.
Copyright (c) 2014 Microsoft Open Technologies, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions and limitations under the License.
Microsoft would like to thank the following companies for their review and assistance with these files: Intel Corporation, Mellanox Technologies Ltd, Dell Products, L.P., Facebook, Inc., Marvell International Ltd.
Definition in file saistp.h.