SAI Metadata
|
This module defines SAI Two-Way Active Measurement Protocol interface. More...
#include <saitypes.h>
Go to the source code of this file.
Classes | |
struct | _sai_twamp_session_stats_data_t |
Notification data format received from SAI TWAMP callback. More... | |
struct | _sai_twamp_session_event_notification_data_t |
Defines the operational status of the TWAMP session. More... | |
struct | _sai_twamp_api_t |
Two-Way Active Measurement Protocol method table retrieved with sai_api_query() More... | |
Typedefs | |
typedef enum _sai_twamp_session_auth_mode_t | sai_twamp_session_auth_mode_t |
SAI Two-Way Active Measurement Protocol session authentication mode, there are three modes: unauthenticated, authenticated, and encrypted. | |
typedef enum _sai_twamp_session_role_t | sai_twamp_session_role_t |
SAI Two-Way Active Measurement Protocol role. | |
typedef enum _sai_twamp_mode_t | sai_twamp_mode_t |
SAI Two-Way Active Measurement Protocol mode. | |
typedef enum _sai_twamp_pkt_tx_mode_t | sai_twamp_pkt_tx_mode_t |
SAI Two-Way Active Measurement transmitting mode. | |
typedef enum _sai_twamp_timestamp_format_t | sai_twamp_timestamp_format_t |
SAI Two-Way Active Measurement format of timestamp. | |
typedef enum _sai_twamp_encapsulation_type_t | sai_twamp_encapsulation_type_t |
SAI Two-Way Active Measurement Protocol type of encapsulation. | |
typedef enum _sai_twamp_session_attr_t | sai_twamp_session_attr_t |
SAI attributes for Two-Way Active Measurement Protocol session. | |
typedef enum _sai_twamp_session_stat_t | sai_twamp_session_stat_t |
Two-Way Active Measurement Protocol Session counter IDs in sai_get_twamp_session_stats() call. | |
typedef enum _sai_twamp_session_state_t | sai_twamp_session_state_t |
SAI TWAMP session state. | |
typedef struct _sai_twamp_session_stats_data_t | sai_twamp_session_stats_data_t |
Notification data format received from SAI TWAMP callback. | |
typedef struct _sai_twamp_session_event_notification_data_t | sai_twamp_session_event_notification_data_t |
Defines the operational status of the TWAMP session. | |
typedef sai_status_t(* | sai_create_twamp_session_fn) (_Out_ sai_object_id_t *twamp_session_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list) |
Create Two-Way Active Measurement Protocol session. | |
typedef sai_status_t(* | sai_remove_twamp_session_fn) (_In_ sai_object_id_t twamp_session_id) |
Remove Two-Way Active Measurement Protocol session. | |
typedef sai_status_t(* | sai_set_twamp_session_attribute_fn) (_In_ sai_object_id_t twamp_session_id, _In_ const sai_attribute_t *attr) |
Set Two-Way Active Measurement Protocol session attributes. | |
typedef sai_status_t(* | sai_get_twamp_session_attribute_fn) (_In_ sai_object_id_t twamp_session_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list) |
Get Two-Way Active Measurement Protocol session attributes. | |
typedef sai_status_t(* | sai_get_twamp_session_stats_fn) (_In_ sai_object_id_t twamp_session_id, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids, _Out_ uint64_t *counters) |
Get Two-Way Active Measurement Protocol session statistics counters. | |
typedef sai_status_t(* | sai_get_twamp_session_stats_ext_fn) (_In_ sai_object_id_t twamp_session_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 Two-Way Active Measurement Protocol session statistics counters extended. | |
typedef sai_status_t(* | sai_clear_twamp_session_stats_fn) (_In_ sai_object_id_t twamp_session_id, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids) |
Clear Two-Way Active Measurement Protocol session statistics counters. | |
typedef void(* | sai_twamp_session_event_notification_fn) (_In_ uint32_t count, _In_ const sai_twamp_session_event_notification_data_t *data) |
TWAMP session notification. | |
typedef struct _sai_twamp_api_t | sai_twamp_api_t |
Two-Way Active Measurement Protocol method table retrieved with sai_api_query() | |
This module defines SAI Two-Way Active Measurement Protocol interface.
Copyright (c) 2023 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 saitwamp.h.