25#if !defined (__SAIBRIDGE_H_)
305 _Out_ sai_object_id_t *bridge_port_id,
306 _In_ sai_object_id_t switch_id,
307 _In_ uint32_t attr_count,
318 _In_ sai_object_id_t bridge_port_id);
329 _In_ sai_object_id_t bridge_port_id,
342 _In_ sai_object_id_t bridge_port_id,
343 _In_ uint32_t attr_count,
357 _In_ sai_object_id_t bridge_port_id,
358 _In_ uint32_t number_of_counters,
359 _In_
const sai_stat_id_t *counter_ids,
360 _Out_ uint64_t *counters);
374 _In_ sai_object_id_t bridge_port_id,
375 _In_ uint32_t number_of_counters,
376 _In_
const sai_stat_id_t *counter_ids,
378 _Out_ uint64_t *counters);
390 _In_ sai_object_id_t bridge_port_id,
391 _In_ uint32_t number_of_counters,
392 _In_
const sai_stat_id_t *counter_ids);
609 _Out_ sai_object_id_t *bridge_id,
610 _In_ sai_object_id_t switch_id,
611 _In_ uint32_t attr_count,
622 _In_ sai_object_id_t bridge_id);
633 _In_ sai_object_id_t bridge_id,
646 _In_ sai_object_id_t bridge_id,
647 _In_ uint32_t attr_count,
661 _In_ sai_object_id_t bridge_id,
662 _In_ uint32_t number_of_counters,
663 _In_
const sai_stat_id_t *counter_ids,
664 _Out_ uint64_t *counters);
678 _In_ sai_object_id_t bridge_id,
679 _In_ uint32_t number_of_counters,
680 _In_
const sai_stat_id_t *counter_ids,
682 _Out_ uint64_t *counters);
694 _In_ sai_object_id_t bridge_id,
695 _In_ uint32_t number_of_counters,
696 _In_
const sai_stat_id_t *counter_ids);
_sai_bridge_port_attr_t
SAI attributes for Bridge Port.
enum _sai_bridge_attr_t sai_bridge_attr_t
SAI attributes for Bridge.
struct _sai_bridge_api_t sai_bridge_api_t
Bridge methods table retrieved with sai_api_query()
_sai_bridge_port_type_t
Attribute data for SAI_BRIDGE_PORT_ATTR_TYPE.
sai_status_t(* sai_remove_bridge_port_fn)(_In_ sai_object_id_t bridge_port_id)
Remove bridge port.
sai_status_t(* sai_remove_bridge_fn)(_In_ sai_object_id_t bridge_id)
Remove bridge.
sai_status_t(* sai_get_bridge_stats_fn)(_In_ sai_object_id_t bridge_id, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids, _Out_ uint64_t *counters)
Get bridge statistics counters. Deprecated for backward compatibility.
sai_status_t(* sai_get_bridge_port_attribute_fn)(_In_ sai_object_id_t bridge_port_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)
Get attributes of bridge port.
_sai_bridge_type_t
Attribute data for SAI_BRIDGE_ATTR_TYPE.
enum _sai_bridge_port_fdb_learning_mode_t sai_bridge_port_fdb_learning_mode_t
Attribute data for SAI_BRIDGE_PORT_ATTR_FDB_LEARNING_MODE.
enum _sai_bridge_port_stat_t sai_bridge_port_stat_t
Bridge port counter IDs in sai_get_bridge_port_stats() call.
_sai_bridge_port_stat_t
Bridge port counter IDs in sai_get_bridge_port_stats() call.
sai_status_t(* sai_create_bridge_fn)(_Out_ sai_object_id_t *bridge_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
Create bridge.
sai_status_t(* sai_set_bridge_port_attribute_fn)(_In_ sai_object_id_t bridge_port_id, _In_ const sai_attribute_t *attr)
Set attribute for bridge port.
sai_status_t(* sai_set_bridge_attribute_fn)(_In_ sai_object_id_t bridge_id, _In_ const sai_attribute_t *attr)
Set attribute for bridge.
enum _sai_bridge_stat_t sai_bridge_stat_t
Bridge counter IDs in sai_get_bridge_stats() call.
sai_status_t(* sai_get_bridge_port_stats_fn)(_In_ sai_object_id_t bridge_port_id, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids, _Out_ uint64_t *counters)
Get bridge port statistics counters. Deprecated for backward compatibility.
enum _sai_bridge_port_type_t sai_bridge_port_type_t
Attribute data for SAI_BRIDGE_PORT_ATTR_TYPE.
sai_status_t(* sai_get_bridge_stats_ext_fn)(_In_ sai_object_id_t bridge_id, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids, _In_ sai_stats_mode_t mode, _Out_ uint64_t *counters)
Get bridge statistics counters extended.
_sai_bridge_port_fdb_learning_mode_t
Attribute data for SAI_BRIDGE_PORT_ATTR_FDB_LEARNING_MODE.
sai_status_t(* sai_clear_bridge_stats_fn)(_In_ sai_object_id_t bridge_id, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids)
Clear bridge statistics counters.
_sai_bridge_port_tagging_mode_t
Attribute data for SAI_BRIDGE_PORT_ATTR_TAGGING_MODE.
sai_status_t(* sai_get_bridge_port_stats_ext_fn)(_In_ sai_object_id_t bridge_port_id, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids, _In_ sai_stats_mode_t mode, _Out_ uint64_t *counters)
Get bridge port statistics counters extended.
_sai_bridge_stat_t
Bridge counter IDs in sai_get_bridge_stats() call.
enum _sai_bridge_flood_control_type_t sai_bridge_flood_control_type_t
Attribute data for unknown unicast, unknown multicast and broadcast flood controls.
sai_status_t(* sai_create_bridge_port_fn)(_Out_ sai_object_id_t *bridge_port_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
Create bridge port.
enum _sai_bridge_port_attr_t sai_bridge_port_attr_t
SAI attributes for Bridge Port.
enum _sai_bridge_port_tagging_mode_t sai_bridge_port_tagging_mode_t
Attribute data for SAI_BRIDGE_PORT_ATTR_TAGGING_MODE.
_sai_bridge_attr_t
SAI attributes for Bridge.
sai_status_t(* sai_clear_bridge_port_stats_fn)(_In_ sai_object_id_t bridge_port_id, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids)
Clear bridge port statistics counters.
_sai_bridge_flood_control_type_t
Attribute data for unknown unicast, unknown multicast and broadcast flood controls.
enum _sai_bridge_type_t sai_bridge_type_t
Attribute data for SAI_BRIDGE_ATTR_TYPE.
sai_status_t(* sai_get_bridge_attribute_fn)(_In_ sai_object_id_t bridge_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)
Get attributes of bridge.
@ SAI_BRIDGE_PORT_ATTR_ADMIN_STATE
Admin Mode.
@ SAI_BRIDGE_PORT_ATTR_MAX_LEARNED_ADDRESSES
Maximum number of learned MAC addresses.
@ SAI_BRIDGE_PORT_ATTR_CUSTOM_RANGE_END
@ SAI_BRIDGE_PORT_ATTR_START
Start of attributes.
@ SAI_BRIDGE_PORT_ATTR_TAGGING_MODE
Tagging mode of the bridge port.
@ SAI_BRIDGE_PORT_ATTR_RIF_ID
Associated router interface object id.
@ SAI_BRIDGE_PORT_ATTR_FDB_LEARNING_MODE
FDB Learning mode.
@ SAI_BRIDGE_PORT_ATTR_END
End of attributes.
@ SAI_BRIDGE_PORT_ATTR_INGRESS_FILTERING
Ingress filtering (drop frames with unknown VLANs)
@ SAI_BRIDGE_PORT_ATTR_BRIDGE_ID
Associated bridge id.
@ SAI_BRIDGE_PORT_ATTR_EGRESS_FILTERING
Egress filtering (drop frames with unknown VLANs at egress)
@ SAI_BRIDGE_PORT_ATTR_CUSTOM_RANGE_START
@ SAI_BRIDGE_PORT_ATTR_VLAN_ID
Associated Vlan.
@ SAI_BRIDGE_PORT_ATTR_FDB_LEARNING_LIMIT_VIOLATION_PACKET_ACTION
Action for packets with unknown source MAC address when FDB learning limit is reached.
@ SAI_BRIDGE_PORT_ATTR_ISOLATION_GROUP
Isolation group id.
@ SAI_BRIDGE_PORT_ATTR_TYPE
Bridge port type.
@ SAI_BRIDGE_PORT_ATTR_PORT_ID
Associated Port or LAG object id.
@ SAI_BRIDGE_PORT_ATTR_TUNNEL_ID
Associated tunnel id.
@ SAI_BRIDGE_PORT_TYPE_1Q_ROUTER
@ SAI_BRIDGE_PORT_TYPE_PORT
@ SAI_BRIDGE_PORT_TYPE_1D_ROUTER
@ SAI_BRIDGE_PORT_TYPE_TUNNEL
@ SAI_BRIDGE_PORT_TYPE_SUB_PORT
@ SAI_BRIDGE_PORT_STAT_IN_PACKETS
@ SAI_BRIDGE_PORT_STAT_OUT_PACKETS
@ SAI_BRIDGE_PORT_STAT_IN_OCTETS
@ SAI_BRIDGE_PORT_STAT_OUT_OCTETS
@ SAI_BRIDGE_PORT_FDB_LEARNING_MODE_DROP
@ SAI_BRIDGE_PORT_FDB_LEARNING_MODE_DISABLE
@ SAI_BRIDGE_PORT_FDB_LEARNING_MODE_HW
@ SAI_BRIDGE_PORT_FDB_LEARNING_MODE_CPU_LOG
@ SAI_BRIDGE_PORT_FDB_LEARNING_MODE_FDB_NOTIFICATION
Notify unknown source MAC using FDB callback.
@ SAI_BRIDGE_PORT_FDB_LEARNING_MODE_CPU_TRAP
@ SAI_BRIDGE_PORT_TAGGING_MODE_TAGGED
@ SAI_BRIDGE_PORT_TAGGING_MODE_UNTAGGED
@ SAI_BRIDGE_STAT_OUT_PACKETS
@ SAI_BRIDGE_STAT_IN_PACKETS
@ SAI_BRIDGE_STAT_IN_OCTETS
@ SAI_BRIDGE_STAT_OUT_OCTETS
@ SAI_BRIDGE_ATTR_TYPE
Bridge type.
@ SAI_BRIDGE_ATTR_UNKNOWN_UNICAST_FLOOD_GROUP
Unknown unicast flood group.
@ SAI_BRIDGE_ATTR_UNKNOWN_UNICAST_FLOOD_CONTROL_TYPE
Unknown unicast flood control type.
@ SAI_BRIDGE_ATTR_START
Start of attributes.
@ SAI_BRIDGE_ATTR_BROADCAST_FLOOD_CONTROL_TYPE
Broadcast flood control type.
@ SAI_BRIDGE_ATTR_CUSTOM_RANGE_START
@ SAI_BRIDGE_ATTR_END
End of attributes.
@ SAI_BRIDGE_ATTR_UNKNOWN_MULTICAST_FLOOD_CONTROL_TYPE
Unknown unicast flood control type.
@ SAI_BRIDGE_ATTR_CUSTOM_RANGE_END
@ SAI_BRIDGE_ATTR_PORT_LIST
List of bridge ports associated to this bridge.
@ SAI_BRIDGE_ATTR_LEARN_DISABLE
To disable learning on a bridge.
@ SAI_BRIDGE_ATTR_BROADCAST_FLOOD_GROUP
Broadcast flood group.
@ SAI_BRIDGE_ATTR_MAX_LEARNED_ADDRESSES
Maximum number of learned MAC addresses.
@ SAI_BRIDGE_ATTR_UNKNOWN_MULTICAST_FLOOD_GROUP
Unknown multicast flood group.
@ SAI_BRIDGE_FLOOD_CONTROL_TYPE_COMBINED
Flood on all sub-ports and L2MC group.
@ SAI_BRIDGE_FLOOD_CONTROL_TYPE_NONE
@ SAI_BRIDGE_FLOOD_CONTROL_TYPE_SUB_PORTS
Flood on all sub-ports.
@ SAI_BRIDGE_FLOOD_CONTROL_TYPE_L2MC_GROUP
enum _sai_stats_mode_t sai_stats_mode_t
SAI statistics modes.
This module defines SAI portable types.
Bridge methods table retrieved with sai_api_query()