Skip to content

Commit

Permalink
Hostif trap type for Subnet routes (#2066)
Browse files Browse the repository at this point in the history
Fixes #2037

Signed-off-by: rck-innovium <rck@marvell.com>
  • Loading branch information
rck-innovium authored Oct 8, 2024
1 parent f23185d commit 41089b0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions inc/saihostif.h
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,13 @@ typedef enum _sai_hostif_trap_type_t
*/
SAI_HOSTIF_TRAP_TYPE_ISIS = 0x00002014,

/**
* @brief Packets matching subnet routes with NH pointing to router interface
* i.e., no neighbor entry route is present
* (default packet action is trap)
*/
SAI_HOSTIF_TRAP_TYPE_NEIGHBOR_MISS = 0x00002015,

/** Router traps custom range start */
SAI_HOSTIF_TRAP_TYPE_ROUTER_CUSTOM_RANGE_BASE = 0x00003000,

Expand Down

0 comments on commit 41089b0

Please sign in to comment.