1/** 2 * \file lwippools.h 3 * \brief 4 */ 5 6 7/* 8 * Copyright (c) 2017 ETH Zurich. 9 * All rights reserved. 10 * 11 * This file is distributed under the terms in the attached LICENSE file. 12 * If you do not find this file, copies can be found by writing to: 13 * ETH Zurich D-INFK, Universitaetsstrasse 6, CH-8092 Zurich. Attn: Systems Group. 14 */ 15 16//#ifndef LIB_LWIP_2_0_2_SRC_INCLUDE_LWIPPOOLS_H_ 17//#define LIB_LWIP_2_0_2_SRC_INCLUDE_LWIPPOOLS_H_ 1 18 19/* @file lwippools.h 20 * Define three pools with sizes 256, 512, and 1512 bytes */ 21LWIP_MALLOC_MEMPOOL_START 22LWIP_MALLOC_MEMPOOL_END 23 24/* My sys_arch uses memory pools to allocate mbox and sems */ 25//LWIP_MEMPOOL(SYS_MBOX, 22, sizeof(struct sys_mbox_struct), "SYS_MBOX") 26//LWIP_MEMPOOL(SYS_SEM, 12, sizeof(struct sys_sem_struct), "SYS_SEM") 27 28 29//#endif /* LIB_LWIP_2_0_2_SRC_INCLUDE_LWIPPOOLS_H_ */ 30 31 32 33 34 35