rename xxx_create() / xxx_destory() -> xxx_new() / xxx_free()

This commit is contained in:
luwenpeng
2024-03-08 14:20:36 +08:00
parent 9d562ffee6
commit c945931620
56 changed files with 330 additions and 330 deletions

View File

@@ -752,7 +752,7 @@ error_out_overlap:
* Public API
******************************************************************************/
struct ip_reassembly *ip_reassembly_create(const struct ip_reassembly_config *config)
struct ip_reassembly *ip_reassembly_new(const struct ip_reassembly_config *config)
{
if (ip_reassembly_check_config(config) != 0)
{
@@ -798,7 +798,7 @@ struct ip_reassembly *ip_reassembly_create(const struct ip_reassembly_config *co
return mgr;
}
void ip_reassembly_destory(struct ip_reassembly *mgr)
void ip_reassembly_free(struct ip_reassembly *mgr)
{
if (mgr)
{