perf: Reduce str_to_mac() and inet_addr() calls

This commit is contained in:
luwenpeng
2023-10-12 11:59:42 +08:00
parent 49ccb5149f
commit 4f870de963
7 changed files with 68 additions and 64 deletions

View File

@@ -30,7 +30,7 @@ int health_check_session_set_status(uint64_t session_id, int is_active);
// return 0 : success
// return -1 : key not exist
int health_check_session_get_mac(uint64_t session_id, char *mac_buff);
int health_check_session_get_mac(uint64_t session_id, u_char mac[]);
#ifdef __cpluscplus
}