25#if !defined (__SAIMYMAC_H_)
119 _Out_ sai_object_id_t *my_mac_id,
120 _In_ sai_object_id_t switch_id,
121 _In_ uint32_t attr_count,
132 _In_ sai_object_id_t my_mac_id);
143 _In_ sai_object_id_t my_mac_id,
156 _In_ sai_object_id_t my_mac_id,
157 _In_ uint32_t attr_count,
struct _sai_my_mac_api_t sai_my_mac_api_t
My MAC methods table retrieved with sai_api_query()
sai_status_t(* sai_create_my_mac_fn)(_Out_ sai_object_id_t *my_mac_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
Create My MAC entry.
enum _sai_my_mac_attr_t sai_my_mac_attr_t
My MAC entry attribute IDs.
_sai_my_mac_attr_t
My MAC entry attribute IDs.
@ SAI_MY_MAC_ATTR_START
Start of attributes.
@ SAI_MY_MAC_ATTR_MAC_ADDRESS_MASK
MAC Address Mask.
@ SAI_MY_MAC_ATTR_END
End of attributes.
@ SAI_MY_MAC_ATTR_VLAN_ID
Associated Vlan Id, if not specified any vlan id will match.
@ SAI_MY_MAC_ATTR_CUSTOM_RANGE_END
@ SAI_MY_MAC_ATTR_CUSTOM_RANGE_START
@ SAI_MY_MAC_ATTR_MAC_ADDRESS
MAC Address.
@ SAI_MY_MAC_ATTR_PRIORITY
Priority.
@ SAI_MY_MAC_ATTR_PORT_ID
Associated Port, LAG object id, if not specified any port will match.
sai_status_t(* sai_remove_my_mac_fn)(_In_ sai_object_id_t my_mac_id)
Remove My MAC entry.
sai_status_t(* sai_set_my_mac_attribute_fn)(_In_ sai_object_id_t my_mac_id, _In_ const sai_attribute_t *attr)
Set My MAC entry attribute.
sai_status_t(* sai_get_my_mac_attribute_fn)(_In_ sai_object_id_t my_mac_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)
Get My MAC entry attribute.
This module defines SAI portable types.
My MAC methods table retrieved with sai_api_query()