SAI Metadata
|
Classes | |
struct | _sai_nat_entry_key_t |
NAT entry keys API can be invoked with extra keys present. Driver MUST pick the right set of keys for a given NAT type. More... | |
struct | _sai_nat_entry_mask_t |
NAT entry key masks. More... | |
struct | _sai_nat_entry_data_t |
struct | _sai_nat_entry_t |
NAT entry. More... | |
struct | _sai_nat_event_notification_data_t |
Notification data format received from SAI NAT callback. More... | |
struct | _sai_nat_api_t |
NAT API Router entry methods table retrieved with sai_api_query() More... | |
Typedefs | |
typedef enum _sai_nat_type_t | sai_nat_type_t |
NAT Type. | |
typedef enum _sai_nat_entry_attr_t | sai_nat_entry_attr_t |
NAT Entry Attributes for Match. | |
typedef struct _sai_nat_entry_key_t | sai_nat_entry_key_t |
NAT entry keys API can be invoked with extra keys present. Driver MUST pick the right set of keys for a given NAT type. | |
typedef struct _sai_nat_entry_mask_t | sai_nat_entry_mask_t |
NAT entry key masks. | |
typedef struct _sai_nat_entry_data_t | sai_nat_entry_data_t |
typedef struct _sai_nat_entry_t | sai_nat_entry_t |
NAT entry. | |
typedef enum _sai_nat_event_t | sai_nat_event_t |
NAT event type. | |
typedef struct _sai_nat_event_notification_data_t | sai_nat_event_notification_data_t |
Notification data format received from SAI NAT callback. | |
typedef sai_status_t(* | sai_create_nat_entry_fn) (_In_ const sai_nat_entry_t *nat_entry, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list) |
Create and return a NAT object. | |
typedef sai_status_t(* | sai_remove_nat_entry_fn) (_In_ const sai_nat_entry_t *nat_entry) |
Remove NAT entry. | |
typedef sai_status_t(* | sai_set_nat_entry_attribute_fn) (_In_ const sai_nat_entry_t *nat_entry, _In_ const sai_attribute_t *attr) |
Set NAT entry attribute value(s). | |
typedef sai_status_t(* | sai_get_nat_entry_attribute_fn) (_In_ const sai_nat_entry_t *nat_entry, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list) |
Get values for specified NAT entry attributes. | |
typedef void(* | sai_nat_event_notification_fn) (_In_ uint32_t count, _In_ const sai_nat_event_notification_data_t *data) |
NAT notifications. | |
typedef sai_status_t(* | sai_bulk_create_nat_entry_fn) (_In_ uint32_t object_count, _In_ const sai_nat_entry_t *nat_entry, _In_ const uint32_t *attr_count, _In_ const sai_attribute_t **attr_list, _In_ sai_bulk_op_error_mode_t mode, _Out_ sai_status_t *object_statuses) |
Bulk create NAT entry. | |
typedef sai_status_t(* | sai_bulk_remove_nat_entry_fn) (_In_ uint32_t object_count, _In_ const sai_nat_entry_t *nat_entry, _In_ sai_bulk_op_error_mode_t mode, _Out_ sai_status_t *object_statuses) |
Bulk remove NAT entry. | |
typedef sai_status_t(* | sai_bulk_set_nat_entry_attribute_fn) (_In_ uint32_t object_count, _In_ const sai_nat_entry_t *nat_entry, _In_ const sai_attribute_t *attr_list, _In_ sai_bulk_op_error_mode_t mode, _Out_ sai_status_t *object_statuses) |
Bulk set attribute on NAT entry. | |
typedef sai_status_t(* | sai_bulk_get_nat_entry_attribute_fn) (_In_ uint32_t object_count, _In_ const sai_nat_entry_t *nat_entry, _In_ const uint32_t *attr_count, _Inout_ sai_attribute_t **attr_list, _In_ sai_bulk_op_error_mode_t mode, _Out_ sai_status_t *object_statuses) |
Bulk get attribute on NAT entry. | |
typedef enum _sai_nat_zone_counter_attr_t | sai_nat_zone_counter_attr_t |
NAT zone counters for each NAT type. | |
typedef sai_status_t(* | sai_create_nat_zone_counter_fn) (_Out_ sai_object_id_t *nat_zone_counter_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list) |
Create and return a NAT zone counter object. | |
typedef sai_status_t(* | sai_remove_nat_zone_counter_fn) (_In_ sai_object_id_t nat_zone_counter_id) |
Deletes a specified NAT zone_counter object. | |
typedef sai_status_t(* | sai_set_nat_zone_counter_attribute_fn) (_In_ sai_object_id_t nat_zone_counter_id, _In_ const sai_attribute_t *attr) |
Set NAT zone counter attribute value(s). | |
typedef sai_status_t(* | sai_get_nat_zone_counter_attribute_fn) (_In_ sai_object_id_t nat_zone_counter_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list) |
Get values for specified NAT zone counter attributes. | |
typedef struct _sai_nat_api_t | sai_nat_api_t |
NAT API Router entry methods table retrieved with sai_api_query() | |
typedef sai_status_t(* sai_bulk_create_nat_entry_fn) (_In_ uint32_t object_count, _In_ const sai_nat_entry_t *nat_entry, _In_ const uint32_t *attr_count, _In_ const sai_attribute_t **attr_list, _In_ sai_bulk_op_error_mode_t mode, _Out_ sai_status_t *object_statuses) |
Bulk create NAT entry.
[in] | object_count | Number of objects to create |
[in] | nat_entry | List of object to create |
[in] | attr_count | List of attr_count. Caller passes the number of attribute for each object to create. |
[in] | attr_list | List of attributes for every object. |
[in] | mode | Bulk operation error handling mode. |
[out] | object_statuses | List of status for every object. Caller needs to allocate the buffer |
typedef sai_status_t(* sai_bulk_get_nat_entry_attribute_fn) (_In_ uint32_t object_count, _In_ const sai_nat_entry_t *nat_entry, _In_ const uint32_t *attr_count, _Inout_ sai_attribute_t **attr_list, _In_ sai_bulk_op_error_mode_t mode, _Out_ sai_status_t *object_statuses) |
Bulk get attribute on NAT entry.
[in] | object_count | Number of objects to set attribute |
[in] | nat_entry | List of objects to set attribute |
[in] | attr_count | List of attr_count. Caller passes the number of attribute for each object to get |
[in,out] | attr_list | List of attributes to set on objects, one attribute per object |
[in] | mode | Bulk operation error handling mode |
[out] | object_statuses | List of status for every object. Caller needs to allocate the buffer |
typedef sai_status_t(* sai_bulk_remove_nat_entry_fn) (_In_ uint32_t object_count, _In_ const sai_nat_entry_t *nat_entry, _In_ sai_bulk_op_error_mode_t mode, _Out_ sai_status_t *object_statuses) |
Bulk remove NAT entry.
[in] | object_count | Number of objects to remove |
[in] | nat_entry | List of objects to remove |
[in] | mode | Bulk operation error handling mode. |
[out] | object_statuses | List of status for every object. Caller needs to allocate the buffer |
typedef sai_status_t(* sai_bulk_set_nat_entry_attribute_fn) (_In_ uint32_t object_count, _In_ const sai_nat_entry_t *nat_entry, _In_ const sai_attribute_t *attr_list, _In_ sai_bulk_op_error_mode_t mode, _Out_ sai_status_t *object_statuses) |
Bulk set attribute on NAT entry.
[in] | object_count | Number of objects to set attribute |
[in] | nat_entry | List of objects to set attribute |
[in] | attr_list | List of attributes to set on objects, one attribute per object |
[in] | mode | Bulk operation error handling mode. |
[out] | object_statuses | List of status for every object. Caller needs to allocate the buffer |
typedef sai_status_t(* sai_create_nat_entry_fn) (_In_ const sai_nat_entry_t *nat_entry, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list) |
Create and return a NAT object.
[in] | nat_entry | NAT entry |
[in] | attr_count | Number of attributes |
[in] | attr_list | Array of attributes |
typedef sai_status_t(* sai_create_nat_zone_counter_fn) (_Out_ sai_object_id_t *nat_zone_counter_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list) |
Create and return a NAT zone counter object.
[out] | nat_zone_counter_id | NAT counter object |
[in] | switch_id | Switch object id |
[in] | attr_count | Number of attributes |
[in] | attr_list | Array of attributes |
typedef sai_status_t(* sai_get_nat_entry_attribute_fn) (_In_ const sai_nat_entry_t *nat_entry, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list) |
Get values for specified NAT entry attributes.
[in] | nat_entry | NAT entry |
[in] | attr_count | Number of attributes |
[in,out] | attr_list | Array of attributes |
typedef sai_status_t(* sai_get_nat_zone_counter_attribute_fn) (_In_ sai_object_id_t nat_zone_counter_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list) |
Get values for specified NAT zone counter attributes.
[in] | nat_zone_counter_id | NAT counter zone object id |
[in] | attr_count | Number of attributes |
[in,out] | attr_list | Array of attributes |
Notification data format received from SAI NAT callback.
typedef void(* sai_nat_event_notification_fn) (_In_ uint32_t count, _In_ const sai_nat_event_notification_data_t *data) |
typedef sai_status_t(* sai_remove_nat_entry_fn) (_In_ const sai_nat_entry_t *nat_entry) |
Remove NAT entry.
[in] | nat_entry | NAT entry to be removed. |
typedef sai_status_t(* sai_remove_nat_zone_counter_fn) (_In_ sai_object_id_t nat_zone_counter_id) |
Deletes a specified NAT zone_counter object.
Deleting a NAT counter object does not delete reference to it.
[in] | nat_zone_counter_id | NAT object to be removed. |
typedef sai_status_t(* sai_set_nat_entry_attribute_fn) (_In_ const sai_nat_entry_t *nat_entry, _In_ const sai_attribute_t *attr) |
Set NAT entry attribute value(s).
[in] | nat_entry | NAT entry |
[in] | attr | Attribute to set |
typedef sai_status_t(* sai_set_nat_zone_counter_attribute_fn) (_In_ sai_object_id_t nat_zone_counter_id, _In_ const sai_attribute_t *attr) |
Set NAT zone counter attribute value(s).
[in] | nat_zone_counter_id | NAT zone counter id |
[in] | attr | Attribute to set |
NAT Entry Attributes for Match.
enum _sai_nat_event_t |
enum _sai_nat_type_t |
NAT zone counters for each NAT type.