SAI Metadata
|
This module defines SAI IPsec interface. More...
#include <saitypes.h>
Go to the source code of this file.
Classes | |
struct | _sai_ipsec_sa_status_notification_t |
IPsec SA status for notification. More... | |
struct | _sai_ipsec_api_t |
IPsec methods table retrieved with sai_api_query() More... | |
Typedefs | |
typedef enum _sai_ipsec_direction_t | sai_ipsec_direction_t |
IPsec direction types For PHY ASIC Egress is system to line direction and ingress is the opposite. | |
typedef enum _sai_ipsec_cipher_t | sai_ipsec_cipher_t |
IPsec cipher suite types. | |
typedef enum _sai_ipsec_sa_octet_count_status_t | sai_ipsec_sa_octet_count_status_t |
IPsec SA sequence number status type. | |
typedef struct _sai_ipsec_sa_status_notification_t | sai_ipsec_sa_status_notification_t |
IPsec SA status for notification. | |
typedef enum _sai_ipsec_attr_t | sai_ipsec_attr_t |
Attribute Id for sai_ipsec. | |
typedef enum _sai_ipsec_port_attr_t | sai_ipsec_port_attr_t |
Attribute Id for sai_ipsec_port. | |
typedef enum _sai_ipsec_port_stat_t | sai_ipsec_port_stat_t |
IPsec flow counter IDs in sai_get_ipsec_sa_stats() call. | |
typedef enum _sai_ipsec_sa_attr_t | sai_ipsec_sa_attr_t |
Attribute Id for sai_ipsec_sa. | |
typedef enum _sai_ipsec_sa_stat_t | sai_ipsec_sa_stat_t |
IPsec flow counter IDs in sai_get_ipsec_sa_stats() call. | |
typedef sai_status_t(* | sai_create_ipsec_fn) (_Out_ sai_object_id_t *ipsec_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list) |
Create a IPsec object. | |
typedef sai_status_t(* | sai_remove_ipsec_fn) (_In_ sai_object_id_t ipsec_id) |
Delete the IPsec object. | |
typedef sai_status_t(* | sai_set_ipsec_attribute_fn) (_In_ sai_object_id_t ipsec_id, _In_ const sai_attribute_t *attr) |
Set IPsec attribute. | |
typedef sai_status_t(* | sai_get_ipsec_attribute_fn) (_In_ sai_object_id_t ipsec_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list) |
Get IPsec attribute. | |
typedef sai_status_t(* | sai_create_ipsec_port_fn) (_Out_ sai_object_id_t *ipsec_port_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list) |
Create a IPsec port. | |
typedef sai_status_t(* | sai_remove_ipsec_port_fn) (_In_ sai_object_id_t ipsec_port_id) |
Delete a IPsec port. | |
typedef sai_status_t(* | sai_set_ipsec_port_attribute_fn) (_In_ sai_object_id_t ipsec_port_id, _In_ const sai_attribute_t *attr) |
Set IPsec port attribute. | |
typedef sai_status_t(* | sai_get_ipsec_port_attribute_fn) (_In_ sai_object_id_t ipsec_port_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list) |
Get IPsec port attribute. | |
typedef sai_status_t(* | sai_get_ipsec_port_stats_fn) (_In_ sai_object_id_t ipsec_port_id, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids, _Out_ uint64_t *counters) |
Get IPsec port counters. | |
typedef sai_status_t(* | sai_get_ipsec_port_stats_ext_fn) (_In_ sai_object_id_t ipsec_port_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 IPsec port counters extended. | |
typedef sai_status_t(* | sai_clear_ipsec_port_stats_fn) (_In_ sai_object_id_t ipsec_port_id, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids) |
Clear IPsec port counters. | |
typedef sai_status_t(* | sai_create_ipsec_sa_fn) (_Out_ sai_object_id_t *ipsec_sa_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list) |
Create a IPsec Security Association. | |
typedef sai_status_t(* | sai_remove_ipsec_sa_fn) (_In_ sai_object_id_t ipsec_sa_id) |
Delete a IPsec Security Association. | |
typedef sai_status_t(* | sai_set_ipsec_sa_attribute_fn) (_In_ sai_object_id_t ipsec_sa_id, _In_ const sai_attribute_t *attr) |
Set IPsec Security Association attribute. | |
typedef sai_status_t(* | sai_get_ipsec_sa_attribute_fn) (_In_ sai_object_id_t ipsec_sa_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list) |
Get IPsec Security Association attribute. | |
typedef sai_status_t(* | sai_get_ipsec_sa_stats_fn) (_In_ sai_object_id_t ipsec_sa_id, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids, _Out_ uint64_t *counters) |
Get IPsec Security Association counters. | |
typedef sai_status_t(* | sai_get_ipsec_sa_stats_ext_fn) (_In_ sai_object_id_t ipsec_sa_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 IPsec Security Association counters extended. | |
typedef sai_status_t(* | sai_clear_ipsec_sa_stats_fn) (_In_ sai_object_id_t ipsec_sa_id, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids) |
Clear IPsec Security Association counters. | |
typedef void(* | sai_ipsec_sa_status_change_notification_fn) (_In_ uint32_t count, _In_ const sai_ipsec_sa_status_notification_t *data) |
IPsec SA status change notification. | |
typedef struct _sai_ipsec_api_t | sai_ipsec_api_t |
IPsec methods table retrieved with sai_api_query() | |
This module defines SAI IPsec 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 saiipsec.h.