From fcab00c220dfd8eaced2e07d4bc3cb9be71b82ff Mon Sep 17 00:00:00 2001
From: yinbin <yinbin8@huawei.com>
Date: Mon, 6 Nov 2023 16:38:32 +0800
Subject: [PATCH] dfx: add four snmp udp datas

---
 src/ltran/ltran_dfx.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/ltran/ltran_dfx.c b/src/ltran/ltran_dfx.c
index e5fd0c8..582a4b7 100644
--- a/src/ltran/ltran_dfx.c
+++ b/src/ltran/ltran_dfx.c
@@ -846,6 +846,11 @@ static void gazelle_print_lstack_stat_snmp_core(const struct gazelle_stack_dfx_d
     printf("ip_fw_dgm: %u\n",        snmp->ip_fw_dgm);
     printf("ip_in_recv: %u\n",       snmp->ip_in_recv);
 
+    printf("udp_in_datagrams: %u\n", snmp->udp_in_datagrams);
+    printf("udp_no_ports: %u\n",     snmp->udp_no_ports);
+    printf("udp_in_errors: %u\n",    snmp->udp_in_errors);
+    printf("udp_out_datagrams: %u\n", snmp->udp_out_datagrams);
+    
     printf("tcp_act_open: %u\n",     snmp->tcp_act_open);
     printf("tcp_passive_open: %u\n", snmp->tcp_passive_open);
     printf("tcp_attempt_fail: %u\n", snmp->tcp_attempt_fail);
-- 
2.23.0

