summaryrefslogtreecommitdiff
path: root/infra/session_manager/session_pool.h
diff options
context:
space:
mode:
authorluwenpeng <[email protected]>2024-10-23 10:01:20 +0800
committerluwenpeng <[email protected]>2024-10-21 10:49:41 +0800
commitfd3cc20554cba6fe7ee7c671730079f81a2fbc5d (patch)
treee38e5405a47fd5dff8c422d4b2109de99159ec4d /infra/session_manager/session_pool.h
parenta7b79a0e227eb509699d0a864129e5013eff50fe (diff)
feature: packet IO support IP reassembly
Diffstat (limited to 'infra/session_manager/session_pool.h')
-rw-r--r--infra/session_manager/session_pool.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/infra/session_manager/session_pool.h b/infra/session_manager/session_pool.h
index 9f607b9..e3509c8 100644
--- a/infra/session_manager/session_pool.h
+++ b/infra/session_manager/session_pool.h
@@ -15,8 +15,8 @@ struct session *session_pool_pop(struct session_pool *pool);
void session_pool_push(struct session_pool *pool, struct session *sess);
const struct session *session_pool_get0(const struct session_pool *pool, uint64_t idx);
-uint64_t session_pool_available_num(const struct session_pool *pool);
-uint64_t session_pool_capacity_size(const struct session_pool *pool);
+uint64_t session_pool_get_free_num(const struct session_pool *pool);
+uint64_t session_pool_get_used_num(const struct session_pool *pool);
#ifdef __cplusplus
}