SAI Metadata
|
This module defines SAI Sample Packet interface. More...
#include <saitypes.h>
Go to the source code of this file.
Classes | |
struct | _sai_samplepacket_api_t |
Samplepacket method table retrieved with sai_api_query() More... | |
Typedefs | |
typedef enum _sai_samplepacket_type_t | sai_samplepacket_type_t |
SAI type of samplepacket sampling. | |
typedef enum _sai_samplepacket_mode_t | sai_samplepacket_mode_t |
SAI mode of samplepacket sampling. | |
typedef enum _sai_samplepacket_attr_t | sai_samplepacket_attr_t |
SAI attributes of samplepacket session. | |
typedef sai_status_t(* | sai_create_samplepacket_fn) (_Out_ sai_object_id_t *samplepacket_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list) |
Create samplepacket session. | |
typedef sai_status_t(* | sai_remove_samplepacket_fn) (_In_ sai_object_id_t samplepacket_id) |
Remove samplepacket session. | |
typedef sai_status_t(* | sai_set_samplepacket_attribute_fn) (_In_ sai_object_id_t samplepacket_id, _In_ const sai_attribute_t *attr) |
Set samplepacket session attributes. | |
typedef sai_status_t(* | sai_get_samplepacket_attribute_fn) (_In_ sai_object_id_t samplepacket_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list) |
Get samplepacket session attributes. | |
typedef struct _sai_samplepacket_api_t | sai_samplepacket_api_t |
Samplepacket method table retrieved with sai_api_query() | |
Enumerations | |
enum | _sai_samplepacket_type_t { SAI_SAMPLEPACKET_TYPE_SLOW_PATH , SAI_SAMPLEPACKET_TYPE_MIRROR_SESSION } |
SAI type of samplepacket sampling. More... | |
enum | _sai_samplepacket_mode_t { SAI_SAMPLEPACKET_MODE_EXCLUSIVE , SAI_SAMPLEPACKET_MODE_SHARED } |
SAI mode of samplepacket sampling. More... | |
enum | _sai_samplepacket_attr_t { SAI_SAMPLEPACKET_ATTR_START , SAI_SAMPLEPACKET_ATTR_SAMPLE_RATE = SAI_SAMPLEPACKET_ATTR_START , SAI_SAMPLEPACKET_ATTR_TYPE , SAI_SAMPLEPACKET_ATTR_MODE , SAI_SAMPLEPACKET_ATTR_END , SAI_SAMPLEPACKET_ATTR_CUSTOM_RANGE_START = 0x10000000 , SAI_SAMPLEPACKET_ATTR_CUSTOM_RANGE_END } |
SAI attributes of samplepacket session. More... | |
This module defines SAI Sample Packet 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 saisamplepacket.h.