SAI Metadata
Loading...
Searching...
No Matches
sairoute.h File Reference

This module defines SAI Route Entry interface. More...

#include <saitypes.h>

Go to the source code of this file.

Classes

struct  _sai_route_entry_t
 Unicast route entry. More...
 
struct  _sai_route_api_t
 Router entry methods table retrieved with sai_api_query() More...
 

Typedefs

typedef enum _sai_route_entry_attr_t sai_route_entry_attr_t
 Attribute Id for SAI route object.
 
typedef struct _sai_route_entry_t sai_route_entry_t
 Unicast route entry.
 
typedef sai_status_t(* sai_create_route_entry_fn) (_In_ const sai_route_entry_t *route_entry, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
 Create Route.
 
typedef sai_status_t(* sai_remove_route_entry_fn) (_In_ const sai_route_entry_t *route_entry)
 Remove Route.
 
typedef sai_status_t(* sai_set_route_entry_attribute_fn) (_In_ const sai_route_entry_t *route_entry, _In_ const sai_attribute_t *attr)
 Set route attribute value.
 
typedef sai_status_t(* sai_get_route_entry_attribute_fn) (_In_ const sai_route_entry_t *route_entry, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)
 Get route attribute value.
 
typedef sai_status_t(* sai_bulk_create_route_entry_fn) (_In_ uint32_t object_count, _In_ const sai_route_entry_t *route_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 route entry.
 
typedef sai_status_t(* sai_bulk_remove_route_entry_fn) (_In_ uint32_t object_count, _In_ const sai_route_entry_t *route_entry, _In_ sai_bulk_op_error_mode_t mode, _Out_ sai_status_t *object_statuses)
 Bulk remove route entry.
 
typedef sai_status_t(* sai_bulk_set_route_entry_attribute_fn) (_In_ uint32_t object_count, _In_ const sai_route_entry_t *route_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 route entry.
 
typedef sai_status_t(* sai_bulk_get_route_entry_attribute_fn) (_In_ uint32_t object_count, _In_ const sai_route_entry_t *route_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 route entry.
 
typedef struct _sai_route_api_t sai_route_api_t
 Router entry methods table retrieved with sai_api_query()
 

Enumerations

enum  _sai_route_entry_attr_t {
  SAI_ROUTE_ENTRY_ATTR_START , SAI_ROUTE_ENTRY_ATTR_PACKET_ACTION = SAI_ROUTE_ENTRY_ATTR_START , SAI_ROUTE_ENTRY_ATTR_USER_TRAP_ID , SAI_ROUTE_ENTRY_ATTR_NEXT_HOP_ID ,
  SAI_ROUTE_ENTRY_ATTR_META_DATA , SAI_ROUTE_ENTRY_ATTR_IP_ADDR_FAMILY , SAI_ROUTE_ENTRY_ATTR_COUNTER_ID , SAI_ROUTE_ENTRY_ATTR_PREFIX_AGG_ID ,
  SAI_ROUTE_ENTRY_ATTR_END , SAI_ROUTE_ENTRY_ATTR_CUSTOM_RANGE_START = 0x10000000 , SAI_ROUTE_ENTRY_ATTR_CUSTOM_RANGE_END
}
 Attribute Id for SAI route object. More...
 

Detailed Description

This module defines SAI Route Entry 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 sairoute.h.