Skip to content

Commit 41089b0

Browse files
authored
Hostif trap type for Subnet routes (#2066)
Fixes #2037 Signed-off-by: rck-innovium <[email protected]>
1 parent f23185d commit 41089b0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

inc/saihostif.h

+7
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,13 @@ typedef enum _sai_hostif_trap_type_t
343343
*/
344344
SAI_HOSTIF_TRAP_TYPE_ISIS = 0x00002014,
345345

346+
/**
347+
* @brief Packets matching subnet routes with NH pointing to router interface
348+
* i.e., no neighbor entry route is present
349+
* (default packet action is trap)
350+
*/
351+
SAI_HOSTIF_TRAP_TYPE_NEIGHBOR_MISS = 0x00002015,
352+
346353
/** Router traps custom range start */
347354
SAI_HOSTIF_TRAP_TYPE_ROUTER_CUSTOM_RANGE_BASE = 0x00003000,
348355

0 commit comments

Comments
 (0)