summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authortongzongzhen <[email protected]>2024-05-17 22:27:22 +0800
committertongzongzhen <[email protected]>2024-05-17 22:27:22 +0800
commitd386e297b7a1739542064600a008c70e33c25f3b (patch)
treed183d32bc6b1bab08f5f4883eb2717af827dec27 /include
parentadfdd8368973fabbf1580edf9df21471c8c5ae04 (diff)
add debug option for arp test
Diffstat (limited to 'include')
-rw-r--r--include/config.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/config.h b/include/config.h
index c499a65..2ef5440 100644
--- a/include/config.h
+++ b/include/config.h
@@ -18,7 +18,6 @@ struct config
char monit_file_path[PATH_MAX];
cpu_set_t cpu_set_io;
- unsigned int send_ctrlbuf;
// device Information
char * sled_ip;
@@ -31,7 +30,6 @@ struct config
char keep_alive_path[MR_SYMBOL_MAX];
// kafka
- unsigned int kafka_dump_to_log;
char topic_name[MR_SYMBOL_MAX];
char broker_list[1024];
char sasl_username[MR_SYMBOL_MAX];
@@ -55,6 +53,11 @@ struct config
unsigned int nr_desc;
struct dp_trace_job_desc desc[DP_TRACE_JOB_NUM_MAX];
+
+ // debug
+ unsigned int send_ctrlbuf;
+ unsigned int kafka_dump_to_log;
+ unsigned int arp_pkt_has_ip_test;
};
const struct config * config_create(const char * config_path, const char * dy_config_path);