From fb7cb9a585ca3f6282d18b7012eb859a900f9491 Mon Sep 17 00:00:00 2001 From: rck-innovium Date: Tue, 13 Aug 2024 23:54:04 +0530 Subject: [PATCH] Hostif trap type for Subnet routes Fixes https://github.com/opencomputeproject/SAI/issues/2037 Signed-off-by: rck-innovium --- inc/saihostif.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/inc/saihostif.h b/inc/saihostif.h index 5ef5c664b..92ff603a5 100644 --- a/inc/saihostif.h +++ b/inc/saihostif.h @@ -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,