Home
last modified time | relevance | path

Searched refs:allocator (Results 1 – 3 of 3) sorted by relevance

/btstack/3rd-party/lwip/core/src/include/lwip/
H A Daltcp.h91 struct altcp_pcb *altcp_new(altcp_allocator_t *allocator);
92 struct altcp_pcb *altcp_new_ip6(altcp_allocator_t *allocator);
93 struct altcp_pcb *altcp_new_ip_type(altcp_allocator_t *allocator, u8_t ip_type);
163 #define altcp_new(allocator) tcp_new() argument
164 #define altcp_new_ip6(allocator) tcp_new_ip6() argument
165 #define altcp_new_ip_type(allocator, ip_type) tcp_new_ip_type(ip_type) argument
/btstack/3rd-party/lwip/core/src/core/
H A Daltcp.c164 altcp_new_ip6(altcp_allocator_t *allocator) in altcp_new_ip6() argument
166 return altcp_new_ip_type(allocator, IPADDR_TYPE_V6); in altcp_new_ip6()
174 altcp_new(altcp_allocator_t *allocator) in altcp_new() argument
176 return altcp_new_ip_type(allocator, IPADDR_TYPE_V4); in altcp_new()
189 altcp_new_ip_type(altcp_allocator_t *allocator, u8_t ip_type) in altcp_new_ip_type() argument
192 if (allocator == NULL) { in altcp_new_ip_type()
196 if (allocator->alloc == NULL) { in altcp_new_ip_type()
200 conn = allocator->alloc(allocator->arg, ip_type); in altcp_new_ip_type()
/btstack/3rd-party/lwip/core/
H A DCHANGELOG2365 of the pool allocator (can save code size with MEM_LIBC_MALLOC if libc-malloc