25#if !defined (__SAIFDB_H_)
359 _In_ uint32_t attr_count,
395 _In_ uint32_t attr_count,
408 _In_ sai_object_id_t switch_id,
409 _In_ uint32_t attr_count,
442 _In_ uint32_t object_count,
444 _In_
const uint32_t *attr_count,
446 _In_ sai_bulk_op_error_mode_t mode,
447 _Out_ sai_status_t *object_statuses);
464 _In_ uint32_t object_count,
466 _In_ sai_bulk_op_error_mode_t mode,
467 _Out_ sai_status_t *object_statuses);
485 _In_ uint32_t object_count,
488 _In_ sai_bulk_op_error_mode_t mode,
489 _Out_ sai_status_t *object_statuses);
509 _In_ uint32_t object_count,
511 _In_
const uint32_t *attr_count,
513 _In_ sai_bulk_op_error_mode_t mode,
514 _Out_ sai_status_t *object_statuses);
sai_status_t(* sai_bulk_remove_fdb_entry_fn)(_In_ uint32_t object_count, _In_ const sai_fdb_entry_t *fdb_entry, _In_ sai_bulk_op_error_mode_t mode, _Out_ sai_status_t *object_statuses)
Bulk remove FDB entry.
sai_status_t(* sai_set_fdb_entry_attribute_fn)(_In_ const sai_fdb_entry_t *fdb_entry, _In_ const sai_attribute_t *attr)
Set FDB entry attribute value.
_sai_fdb_flush_entry_type_t
FDB Flush entry type.
struct _sai_fdb_api_t sai_fdb_api_t
FDB method table retrieved with sai_api_query()
sai_status_t(* sai_bulk_create_fdb_entry_fn)(_In_ uint32_t object_count, _In_ const sai_fdb_entry_t *fdb_entry, _In_ const uint32_t *attr_count, _In_ const sai_attribute_t **attr_list, _In_ sai_bulk_op_error_mode_t mode, _Out_ sai_status_t *object_statuses)
Bulk create FDB entry.
enum _sai_fdb_entry_attr_t sai_fdb_entry_attr_t
Attribute Id for FDB entry.
_sai_fdb_flush_attr_t
Attribute for FDB flush API to specify the type of FDB entries being flushed.
enum _sai_fdb_event_t sai_fdb_event_t
FDB event type.
sai_status_t(* sai_bulk_get_fdb_entry_attribute_fn)(_In_ uint32_t object_count, _In_ const sai_fdb_entry_t *fdb_entry, _In_ const uint32_t *attr_count, _Inout_ sai_attribute_t **attr_list, _In_ sai_bulk_op_error_mode_t mode, _Out_ sai_status_t *object_statuses)
Bulk get attribute on FDB entry.
struct _sai_fdb_entry_t sai_fdb_entry_t
FDB entry key.
sai_status_t(* sai_get_fdb_entry_attribute_fn)(_In_ const sai_fdb_entry_t *fdb_entry, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)
Get FDB entry attribute value.
sai_status_t(* sai_remove_fdb_entry_fn)(_In_ const sai_fdb_entry_t *fdb_entry)
Remove FDB entry.
enum _sai_fdb_entry_type_t sai_fdb_entry_type_t
FDB entry type.
struct _sai_fdb_event_notification_data_t sai_fdb_event_notification_data_t
Notification data format received from SAI FDB callback.
enum _sai_fdb_flush_entry_type_t sai_fdb_flush_entry_type_t
FDB Flush entry type.
_sai_fdb_entry_type_t
FDB entry type.
sai_status_t(* sai_bulk_set_fdb_entry_attribute_fn)(_In_ uint32_t object_count, _In_ const sai_fdb_entry_t *fdb_entry, _In_ const sai_attribute_t *attr_list, _In_ sai_bulk_op_error_mode_t mode, _Out_ sai_status_t *object_statuses)
Bulk set attribute on FDB entry.
_sai_fdb_event_t
FDB event type.
sai_status_t(* sai_flush_fdb_entries_fn)(_In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
Remove all FDB entries by attribute set in sai_fdb_flush_attr.
_sai_fdb_entry_attr_t
Attribute Id for FDB entry.
void(* sai_fdb_event_notification_fn)(_In_ uint32_t count, _In_ const sai_fdb_event_notification_data_t *data)
FDB notifications.
enum _sai_fdb_flush_attr_t sai_fdb_flush_attr_t
Attribute for FDB flush API to specify the type of FDB entries being flushed.
sai_status_t(* sai_create_fdb_entry_fn)(_In_ const sai_fdb_entry_t *fdb_entry, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
Create FDB entry.
@ SAI_FDB_FLUSH_ENTRY_TYPE_STATIC
@ SAI_FDB_FLUSH_ENTRY_TYPE_DYNAMIC
@ SAI_FDB_FLUSH_ENTRY_TYPE_ALL
@ SAI_FDB_FLUSH_ATTR_ENTRY_TYPE
Flush based on entry type.
@ SAI_FDB_FLUSH_ATTR_CUSTOM_RANGE_END
@ SAI_FDB_FLUSH_ATTR_BV_ID
Flush based on VLAN or Bridge.
@ SAI_FDB_FLUSH_ATTR_END
End of attributes.
@ SAI_FDB_FLUSH_ATTR_START
Start of attributes.
@ SAI_FDB_FLUSH_ATTR_CUSTOM_RANGE_START
@ SAI_FDB_FLUSH_ATTR_BRIDGE_PORT_ID
Flush based on bridge port.
@ SAI_FDB_ENTRY_TYPE_DYNAMIC
@ SAI_FDB_ENTRY_TYPE_STATIC
@ SAI_FDB_ENTRY_ATTR_ENDPOINT_IP
Tunnel Endpoint IP. valid for SAI_BRIDGE_PORT_TYPE_TUNNEL.
@ SAI_FDB_ENTRY_ATTR_COUNTER_ID
Attach a counter.
@ SAI_FDB_ENTRY_ATTR_CUSTOM_RANGE_END
@ SAI_FDB_ENTRY_ATTR_END
End of attributes.
@ SAI_FDB_ENTRY_ATTR_USER_TRAP_ID
Generate User Defined Trap ID for trap/log actions.
@ SAI_FDB_ENTRY_ATTR_META_DATA
User based Meta Data.
@ SAI_FDB_ENTRY_ATTR_START
Start of attributes.
@ SAI_FDB_ENTRY_ATTR_ALLOW_MAC_MOVE
Specifies whether a MAC move is allowed When MAC_MOVE is explicitly disabled for a static MAC entry v...
@ SAI_FDB_ENTRY_ATTR_TYPE
FDB entry type.
@ SAI_FDB_ENTRY_ATTR_CUSTOM_RANGE_START
@ SAI_FDB_ENTRY_ATTR_PACKET_ACTION
FDB entry packet action.
@ SAI_FDB_ENTRY_ATTR_BRIDGE_PORT_ID
FDB entry bridge port id.
This module defines SAI portable types.
FDB method table retrieved with sai_api_query()
sai_object_id_t bv_id
Bridge ID. for .1D and Vlan ID for .1Q.
sai_object_id_t switch_id
Switch ID.
Notification data format received from SAI FDB callback.
sai_fdb_event_t event_type
sai_fdb_entry_t fdb_entry
sai_attribute_t * attr
Attributes.