We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffbb1fe commit a700f06Copy full SHA for a700f06
1 file changed
inc/saiswitch.h
@@ -187,8 +187,11 @@ typedef enum _sai_switch_switching_mode_t
187
*/
188
typedef enum _sai_hash_algorithm_t
189
{
190
+ /** Start of hash algorithms */
191
+ SAI_HASH_ALGORITHM_START = 0,
192
+
193
/** CRC based hash algorithm */
- SAI_HASH_ALGORITHM_CRC = 0,
194
+ SAI_HASH_ALGORITHM_CRC = SAI_HASH_ALGORITHM_START,
195
196
/** XOR-based hash algorithm */
197
SAI_HASH_ALGORITHM_XOR = 1,
@@ -220,6 +223,8 @@ typedef enum _sai_hash_algorithm_t
220
223
/** Upper 16 bits of Jenkins hash algorithm */
221
224
SAI_HASH_ALGORITHM_JENKINS_HI = 10,
222
225
226
+ /** End of hash algorithms */
227
+ SAI_HASH_ALGORITHM_END
228
} sai_hash_algorithm_t;
229
230
/**
0 commit comments