Skip to content

Commit 7ba0a4d

Browse files
committed
Add drop reasons
1 parent f0806ca commit 7ba0a4d

1 file changed

Lines changed: 31 additions & 2 deletions

File tree

utilities/debug_counter/drop_reasons.h

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,47 @@
1616

1717
// L3 Ingress Drop Reasons
1818
#define L3_ANY "L3_ANY"
19+
#define EXCEEDS_L3_MTU "EXCEEDS_L3_MTU"
1920
#define TTL "TTL"
2021
#define L3_LOOPBACK_FILTER "L3_LOOPBACK_FILTER"
2122
#define REASON_NON_ROUTABLE "REASON_NON_ROUTABLE"
2223
#define NO_L3_HEADER "NO_L3_HEADER"
2324
#define IP_HEADER_ERROR "IP_HEADER_ERROR"
2425
#define UC_DIP_MC_DMAC "UC_DIP_MC_DMAC"
25-
#define EXCEEDS_L3_MTU "EXCEEDS_L3_MTU"
26-
#define SIP_LINK_LOCAL "SIP_LINK_LOCAL"
26+
#define DIP_LOOPBACK "DIP_LOOPBACK"
27+
#define SIP_LOOPBACK "SIP_LOOPBACK"
28+
#define SIP_MC "SIP_MC"
29+
#define SIP_CLASS_E "SIP_CLASS_E"
30+
#define SIP_UNSPECIFIED "SIP_UNSPECIFIED"
31+
#define MC_DMAC_MISMATCH "MC_DMAC_MISMATCH"
32+
#define SIP_EQUALS_DIP "SIP_EQUALS_DIP"
33+
#define SIP_BC "SIP_BC"
34+
#define DIP_LOCAL "DIP_LOCAL"
2735
#define DIP_LINK_LOCAL "DIP_LINK_LOCAL"
36+
#define SIP_LINK_LOCAL "SIP_LINK_LOCAL"
37+
#define IPV6_MC_SCOPE0 "IPV6_MC_SCOPE0"
38+
#define IPV6_MC_SCOPE1 "IPV6_MC_SCOPE1"
39+
#define IRIF_DISABLED "IRIF_DISABLED"
40+
#define ERIF_DISABLED "ERIF_DISABLED"
41+
#define LPM4_MISS "LPM4_MISS"
42+
#define LPM6_MISS "LPM6_MISS"
43+
#define BLACKHOLE_ROUTE "BLACKHOLE_ROUTE"
44+
#define BLACKHOLE_ARP "BLACKHOLE_ARP"
45+
#define UNRESOLVED_NEXT_HOP "UNRESOLVED_NEXT_HOP"
2846
#define L3_EGRESS_LINK_DOWN "L3_EGRESS_LINK_DOWN"
47+
#define DECAP_ERROR "DECAP_ERROR"
2948

3049
// ACL Drop Reasons
3150
#define ACL_ANY "ACL_ANY"
51+
#define ACL_INGRESS_PORT "ACL_INGRESS_PORT"
52+
#define ACL_INGRESS_LAG "ACL_INGRESS_LAG"
53+
#define ACL_INGRESS_VLAN "ACL_INGRESS_VLAN"
54+
#define ACL_INGRESS_RIF "ACL_INGRESS_RIF"
55+
#define ACL_INGRESS_SWITCH "ACL_INGRESS_SWITCH"
56+
#define ACL_EGRESS_PORT "ACL_EGRESS_PORT"
57+
#define ACL_EGRESS_LAG "ACL_EGRESS_LAG"
58+
#define ACL_EGRESS_VLAN "ACL_EGRESS_VLAN"
59+
#define ACL_EGRESS_RIF "ACL_EGRESS_RIF"
60+
#define ACL_EGRESS_SWITCH "ACL_EGRESS_SWITCH"
3261

3362
#endif

0 commit comments

Comments
 (0)