From 516406550d2069be943c8d7fc19bf672b5ced763 Mon Sep 17 00:00:00 2001 From: Diamantis Kourkouzelis Date: Fri, 13 Aug 2021 09:54:24 -0700 Subject: [PATCH] Trap type changes (#1258) Added UDP port 6784 for BFD and BFDv6 trap types Added new LDP trap type --- inc/saihostif.h | 19 +++++++++++++++++++ meta/acronyms.txt | 1 + 2 files changed, 20 insertions(+) diff --git a/inc/saihostif.h b/inc/saihostif.h index 3e6c88b54..5b500dc78 100644 --- a/inc/saihostif.h +++ b/inc/saihostif.h @@ -382,6 +382,25 @@ typedef enum _sai_hostif_trap_type_t */ SAI_HOSTIF_TRAP_TYPE_BFDV6 = 0x00004006, + /** + * @brief Micro BFD traffic (UDP dst port == 6784) to local + * router IP address (default packet action is drop) + */ + SAI_HOSTIF_TRAP_TYPE_BFD_MICRO = 0x00004007, + + /** + * @brief Micro BFDV6 traffic (UDP dst port == 6784) to local + * router IP address (default packet action is drop) + */ + SAI_HOSTIF_TRAP_TYPE_BFDV6_MICRO = 0x00004008, + + /** + * @brief LDP traffic (TCP src port == 646 or TCP dst port == 646) to local + * router IP address or, (UDP dst port == 646) to the 'all routers on this + * subnet' group multicast address (224.0.0.2) (default packet action is drop) + */ + SAI_HOSTIF_TRAP_TYPE_LDP = 0x00004009, + /** Local IP traps custom range start */ SAI_HOSTIF_TRAP_TYPE_LOCAL_IP_CUSTOM_RANGE_BASE = 0x00005000, diff --git a/meta/acronyms.txt b/meta/acronyms.txt index 26ff25e9e..3abd71ae0 100644 --- a/meta/acronyms.txt +++ b/meta/acronyms.txt @@ -70,6 +70,7 @@ L2 - Layer 2 L2MC - Layer 2 Multi Cast L3 - Layer 3 LAG - Link Aggregation Group +LDP - Label Distribution Protocol LPM - Longest Prefix Match LSP - Label Switched Path MAC - Medium Access Control