|
| 1 | +/** |
| 2 | + * Copyright (c) 2018 Microsoft Open Technologies, Inc. |
| 3 | + * |
| 4 | + * Licensed under the Apache License, Version 2.0 (the "License"); you may |
| 5 | + * not use this file except in compliance with the License. You may obtain |
| 6 | + * a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 |
| 7 | + * |
| 8 | + * THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR |
| 9 | + * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT |
| 10 | + * LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS |
| 11 | + * FOR A PARTICULAR PURPOSE, MERCHANTABILITY OR NON-INFRINGEMENT. |
| 12 | + * |
| 13 | + * See the Apache Version 2.0 License for specific language governing |
| 14 | + * permissions and limitations under the License. |
| 15 | + * |
| 16 | + * Microsoft would like to thank the following companies for their review and |
| 17 | + * assistance with these files: Intel Corporation, Mellanox Technologies Ltd, |
| 18 | + * Dell Products, L.P., Facebook, Inc., Marvell International Ltd. |
| 19 | + * |
| 20 | + * @file saiextensions.h |
| 21 | + * |
| 22 | + * @brief This module defines extensions of the Switch Abstraction Interface (SAI) |
| 23 | + */ |
| 24 | + |
| 25 | +#ifndef __SAIEXTENSIONS_H_ |
| 26 | +#define __SAIEXTENSIONS_H_ |
| 27 | + |
| 28 | +#include <saitypes.h> |
| 29 | + |
| 30 | +/* existing enum extensions */ |
| 31 | +#include "saitypesextensions.h" |
| 32 | +#include "saiswitchextensions.h" |
| 33 | + |
| 34 | +/* new experimental object type includes */ |
| 35 | + |
| 36 | +/** |
| 37 | + * @brief Extensions to SAI APIs |
| 38 | + * |
| 39 | + * @flags |
| 40 | + */ |
| 41 | +typedef enum _sai_api_extensions_t |
| 42 | +{ |
| 43 | + SAI_API_EXTENSIONS_RANGE_START = SAI_API_MAX, |
| 44 | + |
| 45 | + /* Add new experimental APIs above this line */ |
| 46 | + |
| 47 | + SAI_API_EXTENSIONS_RANGE_START_END |
| 48 | + |
| 49 | +} sai_api_extensions_t; |
| 50 | + |
| 51 | +#endif /* __SAIEXTENSIONS_H_ */ |
0 commit comments