Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trap type changes #1258

Merged
merged 3 commits into from
Aug 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions inc/saihostif.h
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,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,

Expand Down
1 change: 1 addition & 0 deletions meta/acronyms.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,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
Expand Down