/************************************************************************ * NAME: fnet_malloc * * DESCRIPTION: Allocates memory in heap for TCP/IP * *************************************************************************/ void *fnet_malloc( fnet_size_t nbytes ) { return fnet_mempool_malloc( fnet_mempool_main, nbytes ); }
/************************************************************************ * NAME: fnet_malloc * * DESCRIPTION: Allocates memory in heap for TCP/IP * *************************************************************************/ void *fnet_malloc( unsigned nbytes ) { return fnet_mempool_malloc( fnet_mempool_main, nbytes ); }
/************************************************************************ * NAME: fnet_malloc_netbuf * * DESCRIPTION: Allocates memory in heap for TCP/IP * *************************************************************************/ void *fnet_malloc_netbuf( fnet_size_t nbytes ) { return fnet_mempool_malloc( fnet_mempool_netbuf, nbytes ); }
/************************************************************************ * NAME: fnet_malloc * * DESCRIPTION: Allocates memory in heap for TCP/IP * *************************************************************************/ void *fnet_malloc_netbuf( unsigned nbytes ) { return fnet_mempool_malloc( fnet_mempool_netbuf, nbytes ); }