Searched refs:allocator (Results 1 – 3 of 3) sorted by relevance
91 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() argument164 #define altcp_new_ip6(allocator) tcp_new_ip6() argument165 #define altcp_new_ip_type(allocator, ip_type) tcp_new_ip_type(ip_type) argument
164 altcp_new_ip6(altcp_allocator_t *allocator) in altcp_new_ip6() argument166 return altcp_new_ip_type(allocator, IPADDR_TYPE_V6); in altcp_new_ip6()174 altcp_new(altcp_allocator_t *allocator) in altcp_new() argument176 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() argument192 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()
2365 of the pool allocator (can save code size with MEM_LIBC_MALLOC if libc-malloc