SAI Metadata
|
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... | |
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.
[out] | stp_id | STP instance id |
[in] | switch_id | Switch id |
[in] | attr_count | Number of attributes |
[in] | attr_list | Value of attributes |
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.
[out] | stp_port_id | STP port id |
[in] | switch_id | Switch ID |
[in] | attr_count | Number of attributes |
[in] | attr_list | Value of attributes |
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.
[in] | stp_id | STP instance id |
[in] | attr_count | Number of the attribute |
[in,out] | attr_list | Attribute value |
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.
[in] | stp_port_id | STP port id |
[in] | attr_count | Number of the attribute |
[in,out] | attr_list | Attribute value |
typedef sai_status_t(* sai_remove_stp_fn) (_In_ sai_object_id_t stp_id) |
Remove STP instance.
[in] | stp_id | STP instance id |
typedef sai_status_t(* sai_remove_stp_port_fn) (_In_ sai_object_id_t stp_port_id) |
Remove STP port object.
[in] | stp_port_id | STP object id |
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.
[in] | stp_id | STP instance id |
[in] | attr | Attribute value |
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.
[in] | stp_port_id | STP port id |
[in] | attr | Attribute value |
enum _sai_stp_attr_t |
SAI attributes for STP.
enum _sai_stp_port_attr_t |
SAI attributes for STP.