25#if !defined (__SAISTP_H_)
164 _Out_ sai_object_id_t *stp_id,
165 _In_ sai_object_id_t switch_id,
166 _In_ uint32_t attr_count,
178 _In_ sai_object_id_t stp_id);
190 _In_ sai_object_id_t stp_id,
204 _In_ sai_object_id_t stp_id,
205 _In_ uint32_t attr_count,
220 _Out_ sai_object_id_t *stp_port_id,
221 _In_ sai_object_id_t switch_id,
222 _In_ uint32_t attr_count,
234 _In_ sai_object_id_t stp_port_id);
246 _In_ sai_object_id_t stp_port_id,
260 _In_ sai_object_id_t stp_port_id,
261 _In_ uint32_t attr_count,
enum _sai_stp_port_attr_t sai_stp_port_attr_t
SAI attributes for STP.
_sai_stp_port_state_t
Data structure for STP port state.
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.
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.
enum _sai_stp_attr_t sai_stp_attr_t
SAI attributes for STP.
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.
enum _sai_stp_port_state_t sai_stp_port_state_t
Data structure for STP port state.
_sai_stp_attr_t
SAI attributes for STP.
sai_status_t(* sai_remove_stp_port_fn)(_In_ sai_object_id_t stp_port_id)
Remove STP port object.
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.
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.
struct _sai_stp_api_t sai_stp_api_t
STP method table retrieved with sai_api_query()
_sai_stp_port_attr_t
SAI attributes for STP.
sai_status_t(* sai_remove_stp_fn)(_In_ sai_object_id_t stp_id)
Remove STP instance.
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.
@ SAI_STP_PORT_STATE_BLOCKING
@ SAI_STP_PORT_STATE_FORWARDING
@ SAI_STP_PORT_STATE_LEARNING
@ SAI_STP_ATTR_CUSTOM_RANGE_END
@ SAI_STP_ATTR_START
Start of attributes.
@ SAI_STP_ATTR_PORT_LIST
Port member list.
@ SAI_STP_ATTR_CUSTOM_RANGE_START
@ SAI_STP_ATTR_BRIDGE_ID
Bridge attached to STP instance.
@ SAI_STP_ATTR_END
End of attributes.
@ SAI_STP_ATTR_VLAN_LIST
VLANs attached to STP instance.
@ SAI_STP_PORT_ATTR_STATE
STP port state.
@ SAI_STP_PORT_ATTR_START
Start of attributes.
@ SAI_STP_PORT_ATTR_BRIDGE_PORT
Bridge Port id.
@ SAI_STP_PORT_ATTR_CUSTOM_RANGE_END
@ SAI_STP_PORT_ATTR_STP
STP id.
@ SAI_STP_PORT_ATTR_END
End of attributes.
@ SAI_STP_PORT_ATTR_CUSTOM_RANGE_START
sai_status_t(* sai_bulk_object_create_fn)(_In_ sai_object_id_t switch_id, _In_ uint32_t object_count, _In_ const uint32_t *attr_count, _In_ const sai_attribute_t **attr_list, _In_ sai_bulk_op_error_mode_t mode, _Out_ sai_object_id_t *object_id, _Out_ sai_status_t *object_statuses)
Bulk objects creation.
sai_status_t(* sai_bulk_object_remove_fn)(_In_ uint32_t object_count, _In_ const sai_object_id_t *object_id, _In_ sai_bulk_op_error_mode_t mode, _Out_ sai_status_t *object_statuses)
Bulk objects removal.
This module defines SAI portable types.
STP method table retrieved with sai_api_query()