Skip to content

Commit

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

Signed-off-by: rck-innovium <[email protected]>
  • Loading branch information
rck-innovium committed Aug 15, 2024
1 parent 4b2e595 commit fb7cb9a
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 fb7cb9a

Please sign in to comment.