rename counter -> stat
This commit is contained in:
@@ -68,7 +68,7 @@ struct session *session_manager_get_evicted_session(struct session_manager *mgr)
|
||||
// return >0: next expire interval
|
||||
uint64_t session_manager_get_expire_interval(struct session_manager *mgr);
|
||||
|
||||
struct session_counter
|
||||
struct session_manager_stat
|
||||
{
|
||||
uint64_t tcp_sess_num;
|
||||
uint64_t tcp_opening_sess_num;
|
||||
@@ -86,8 +86,8 @@ struct session_counter
|
||||
uint64_t udp_overload_evict_new_sess_num;
|
||||
};
|
||||
|
||||
void session_manager_get_session_counter(struct session_manager *mgr, struct session_counter *out);
|
||||
void session_manager_print_status(struct session_manager *mgr);
|
||||
void session_manager_print_stat(struct session_manager *mgr);
|
||||
void session_manager_get_stat(struct session_manager *mgr, struct session_manager_stat *out);
|
||||
|
||||
#ifdef __cpluscplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user