SAI Metadata
|
This module defines SAI VLAN interface. More...
#include <saitypes.h>
Go to the source code of this file.
Classes | |
struct | _sai_vlan_api_t |
VLAN methods table retrieved with sai_api_query() More... | |
Macros | |
#define | SAI_VLAN_COUNTER_SET_DEFAULT 0 |
Typedefs | |
typedef enum _sai_vlan_tagging_mode_t | sai_vlan_tagging_mode_t |
Attribute data for tagging_mode parameter. | |
typedef enum _sai_vlan_mcast_lookup_key_type_t | sai_vlan_mcast_lookup_key_type_t |
Attribute data for multicast_lookup_key_type parameter. | |
typedef enum _sai_vlan_flood_control_type_t | sai_vlan_flood_control_type_t |
Attribute data for unknown unicast, unknown multicast and broadcast flood controls. | |
typedef enum _sai_vlan_attr_t | sai_vlan_attr_t |
Attribute Id in sai_set_vlan_attribute() and sai_get_vlan_attribute() calls. | |
typedef enum _sai_vlan_member_attr_t | sai_vlan_member_attr_t |
List of VLAN Member Attributes. | |
typedef enum _sai_vlan_stat_t | sai_vlan_stat_t |
VLAN counter IDs in sai_get_vlan_stats() call. | |
typedef sai_status_t(* | sai_create_vlan_fn) (_Out_ sai_object_id_t *vlan_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list) |
Create a VLAN. | |
typedef sai_status_t(* | sai_remove_vlan_fn) (_In_ sai_object_id_t vlan_id) |
Remove VLAN. | |
typedef sai_status_t(* | sai_set_vlan_attribute_fn) (_In_ sai_object_id_t vlan_id, _In_ const sai_attribute_t *attr) |
Set VLAN Attribute. | |
typedef sai_status_t(* | sai_get_vlan_attribute_fn) (_In_ sai_object_id_t vlan_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list) |
Get VLAN Attribute. | |
typedef sai_status_t(* | sai_create_vlan_member_fn) (_Out_ sai_object_id_t *vlan_member_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list) |
Create VLAN Member. | |
typedef sai_status_t(* | sai_remove_vlan_member_fn) (_In_ sai_object_id_t vlan_member_id) |
Remove VLAN Member. | |
typedef sai_status_t(* | sai_set_vlan_member_attribute_fn) (_In_ sai_object_id_t vlan_member_id, _In_ const sai_attribute_t *attr) |
Set VLAN Member Attribute. | |
typedef sai_status_t(* | sai_get_vlan_member_attribute_fn) (_In_ sai_object_id_t vlan_member_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list) |
Get VLAN Member Attribute. | |
typedef sai_status_t(* | sai_get_vlan_stats_fn) (_In_ sai_object_id_t vlan_id, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids, _Out_ uint64_t *counters) |
Get vlan statistics counters. Deprecated for backward compatibility. | |
typedef sai_status_t(* | sai_get_vlan_stats_ext_fn) (_In_ sai_object_id_t vlan_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 vlan statistics counters extended. | |
typedef sai_status_t(* | sai_clear_vlan_stats_fn) (_In_ sai_object_id_t vlan_id, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids) |
Clear vlan statistics counters. | |
typedef struct _sai_vlan_api_t | sai_vlan_api_t |
VLAN methods table retrieved with sai_api_query() | |
This module defines SAI VLAN interface.
Copyright (c) 2014 Microsoft Open Technologies, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions and limitations under the License.
Microsoft would like to thank the following companies for their review and assistance with these files: Intel Corporation, Mellanox Technologies Ltd, Dell Products, L.P., Facebook, Inc., Marvell International Ltd.
Definition in file saivlan.h.