SAI Metadata
|
Classes | |
struct | _sai_router_interface_api_t |
Routing interface methods table retrieved with sai_api_query() More... | |
Typedefs | |
typedef enum _sai_router_interface_type_t | sai_router_interface_type_t |
Attribute data for SAI_ROUTER_INTERFACE_ATTR_TYPE. | |
typedef enum _sai_router_interface_attr_t | sai_router_interface_attr_t |
Routing interface attribute IDs. | |
typedef enum _sai_router_interface_stat_t | sai_router_interface_stat_t |
Router interface counter IDs in sai_get_router_interface_stats() call. | |
typedef sai_status_t(* | sai_create_router_interface_fn) (_Out_ sai_object_id_t *router_interface_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list) |
Create router interface. | |
typedef sai_status_t(* | sai_remove_router_interface_fn) (_In_ sai_object_id_t router_interface_id) |
Remove router interface. | |
typedef sai_status_t(* | sai_set_router_interface_attribute_fn) (_In_ sai_object_id_t router_interface_id, _In_ const sai_attribute_t *attr) |
Set router interface attribute. | |
typedef sai_status_t(* | sai_get_router_interface_attribute_fn) (_In_ sai_object_id_t router_interface_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list) |
Get router interface attribute. | |
typedef sai_status_t(* | sai_get_router_interface_stats_fn) (_In_ sai_object_id_t router_interface_id, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids, _Out_ uint64_t *counters) |
Get router interface statistics counters. Deprecated for backward compatibility. | |
typedef sai_status_t(* | sai_get_router_interface_stats_ext_fn) (_In_ sai_object_id_t router_interface_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 router interface statistics counters extended. | |
typedef sai_status_t(* | sai_clear_router_interface_stats_fn) (_In_ sai_object_id_t router_interface_id, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids) |
Clear router interface statistics counters. | |
typedef struct _sai_router_interface_api_t | sai_router_interface_api_t |
Routing interface methods table retrieved with sai_api_query() | |
typedef sai_status_t(* sai_clear_router_interface_stats_fn) (_In_ sai_object_id_t router_interface_id, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids) |
Clear router interface statistics counters.
[in] | router_interface_id | Router interface id |
[in] | number_of_counters | Number of counters in the array |
[in] | counter_ids | Specifies the array of counter ids |
Definition at line 436 of file sairouterinterface.h.
typedef sai_status_t(* sai_create_router_interface_fn) (_Out_ sai_object_id_t *router_interface_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list) |
Create router interface.
[out] | router_interface_id | Router interface id |
[in] | switch_id | Switch id |
[in] | attr_count | Number of attributes |
[in] | attr_list | Array of attributes |
Definition at line 351 of file sairouterinterface.h.
typedef sai_status_t(* sai_get_router_interface_attribute_fn) (_In_ sai_object_id_t router_interface_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list) |
Get router interface attribute.
[in] | router_interface_id | Router interface id |
[in] | attr_count | Number of attributes |
[in,out] | attr_list | Array of attributes |
Definition at line 388 of file sairouterinterface.h.
typedef sai_status_t(* sai_get_router_interface_stats_ext_fn) (_In_ sai_object_id_t router_interface_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 router interface statistics counters extended.
[in] | router_interface_id | Router interface id |
[in] | number_of_counters | Number of counters in the array |
[in] | counter_ids | Specifies the array of counter ids |
[in] | mode | Statistics mode |
[out] | counters | Array of resulting counter values. |
Definition at line 420 of file sairouterinterface.h.
typedef sai_status_t(* sai_get_router_interface_stats_fn) (_In_ sai_object_id_t router_interface_id, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids, _Out_ uint64_t *counters) |
Get router interface statistics counters. Deprecated for backward compatibility.
[in] | router_interface_id | Router interface id |
[in] | number_of_counters | Number of counters in the array |
[in] | counter_ids | Specifies the array of counter ids |
[out] | counters | Array of resulting counter values. |
Definition at line 403 of file sairouterinterface.h.
typedef sai_status_t(* sai_remove_router_interface_fn) (_In_ sai_object_id_t router_interface_id) |
Remove router interface.
[in] | router_interface_id | Router interface id |
Definition at line 364 of file sairouterinterface.h.
typedef sai_status_t(* sai_set_router_interface_attribute_fn) (_In_ sai_object_id_t router_interface_id, _In_ const sai_attribute_t *attr) |
Set router interface attribute.
[in] | router_interface_id | Router interface id |
[in] | attr | Attribute |
Definition at line 375 of file sairouterinterface.h.
Routing interface attribute IDs.
Definition at line 67 of file sairouterinterface.h.
Router interface counter IDs in sai_get_router_interface_stats() call.
Definition at line 313 of file sairouterinterface.h.
Attribute data for SAI_ROUTER_INTERFACE_ATTR_TYPE.
Definition at line 39 of file sairouterinterface.h.