rename xxx_create() / xxx_destory() -> xxx_new() / xxx_free()
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user