TCPIP_STACK_HEAP_INTERNAL_CONFIG Structure
C
typedef struct {
TCPIP_STACK_HEAP_TYPE heapType;
TCPIP_STACK_HEAP_FLAGS heapFlags;
TCPIP_STACK_HEAP_USAGE heapUsage;
void* (* malloc_fnc)(size_t bytes);
void* (* calloc_fnc)(size_t nElems, size_t elemSize);
void (* free_fnc)(void* ptr);
size_t heapSize;
} TCPIP_STACK_HEAP_INTERNAL_CONFIG;
Description
Internal heap configuration data.
This data type defines the data required to initialize the TCP/IP stack internal heap.
Preconditions
None.
Members
Members | Description |
---|---|
heapType | Type of this heap: TCPIP_STACK_HEAP_TYPE_INTERNAL_HEAP. |
heapFlags | Heap creation flags TCPIP_STACK_HEAP_FLAG_ALLOC_UNCACHED will be always internally set. |
heapUsage | Currently not used. |
(* malloc_fnc)(size_t bytes) | Malloc style function for allocating the internal heap itself. |
(* calloc_fnc)(size_t nElems, size_t elemSize) | Calloc style function for allocating the internal heap itself. |
(* free_fnc)(void* ptr) | Free style function for releasing the allocated internal heap. |
heapSize | Size of the internal heap to be created and maintained. |
Remarks
None.