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 590f174
Showing 1 changed file with 12 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

0 comments on commit 590f174

Please sign in to comment.