Skip to content

Commit

Permalink
Add gNMI and p4rt hostif trap types.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeberesford committed Mar 11, 2022
1 parent aea3a02 commit 354387d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions inc/saihostif.h
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,18 @@ typedef enum _sai_hostif_trap_type_t
*/
SAI_HOSTIF_TRAP_TYPE_LDP = 0x00004009,

/**
* @brief GNMI traffic (TCP dst port == 9339) to local router IP address
* (default packet action is drop)
*/
SAI_HOSTIF_TRAP_TYPE_GNMI = 0x0000400a,

/**
* @brief P4RT traffic (TCP dst port == 9559) to local router IP address
* (default packet action is drop)
*/
SAI_HOSTIF_TRAP_TYPE_P4RT = 0x0000400b,

/** Local IP traps custom range start */
SAI_HOSTIF_TRAP_TYPE_LOCAL_IP_CUSTOM_RANGE_BASE = 0x00005000,

Expand Down
2 changes: 2 additions & 0 deletions meta/acronyms.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ FPGA - Field Programmable Gate Array
FW - Firmware
GCM - Galois Counter Mode
GMII - Gigabit Media-Independent Interface
GNMI - gRPC Network Management Interface
GPB - Google Protocol Buffers
GRE - Generic Routing Encapsulation
GRPC - GRPC Remote Procedure Call
Expand Down Expand Up @@ -87,6 +88,7 @@ NRZ - Non Return to Zero
NVGRE - Network Virtualization using Generic Routing Encapsulation
OAM - Operations Administration and Maintenance
OUI - Organizationally Unique Identifier
P4RT - Programming Protocol-independent Packet Processors Runtime
PAM4 - Pulse Amplitude Modulation 4-level
PBS - Peak Burst Size
PCI - Peripheral Component Interconnect
Expand Down

0 comments on commit 354387d

Please sign in to comment.