Skip to content

Commit cff5d7d

Browse files
abanu-msDiamantis Kourkouzelis
and
Diamantis Kourkouzelis
authored
Trap type changes (opencomputeproject#1258) (#2)
Added UDP port 6784 for BFD and BFDv6 trap types Added new LDP trap type Co-authored-by: Diamantis Kourkouzelis <[email protected]>
1 parent 54ffca0 commit cff5d7d

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

inc/saihostif.h

+19
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,25 @@ typedef enum _sai_hostif_trap_type_t
373373
*/
374374
SAI_HOSTIF_TRAP_TYPE_BFDV6 = 0x00004006,
375375

376+
/**
377+
* @brief Micro BFD traffic (UDP dst port == 6784) to local
378+
* router IP address (default packet action is drop)
379+
*/
380+
SAI_HOSTIF_TRAP_TYPE_BFD_MICRO = 0x00004007,
381+
382+
/**
383+
* @brief Micro BFDV6 traffic (UDP dst port == 6784) to local
384+
* router IP address (default packet action is drop)
385+
*/
386+
SAI_HOSTIF_TRAP_TYPE_BFDV6_MICRO = 0x00004008,
387+
388+
/**
389+
* @brief LDP traffic (TCP src port == 646 or TCP dst port == 646) to local
390+
* router IP address or, (UDP dst port == 646) to the 'all routers on this
391+
* subnet' group multicast address (224.0.0.2) (default packet action is drop)
392+
*/
393+
SAI_HOSTIF_TRAP_TYPE_LDP = 0x00004009,
394+
376395
/** Local IP traps custom range start */
377396
SAI_HOSTIF_TRAP_TYPE_LOCAL_IP_CUSTOM_RANGE_BASE = 0x00005000,
378397

meta/acronyms.txt

+1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ L2 - Layer 2
6666
L2MC - Layer 2 Multi Cast
6767
L3 - Layer 3
6868
LAG - Link Aggregation Group
69+
LDP - Label Distribution Protocol
6970
LPM - Longest Prefix Match
7071
LSP - Label Switched Path
7172
MAC - Medium Access Control

0 commit comments

Comments
 (0)