diff --git a/src/include/lwip/memp.h b/src/include/lwip/memp.h index 562cd05b..83a27e6e 100644 --- a/src/include/lwip/memp.h +++ b/src/include/lwip/memp.h @@ -90,7 +90,7 @@ extern const struct memp_desc* const memp_pools[MEMP_MAX]; * - free: LWIP_MEMPOOL_FREE(my_private_pool, my_new_mem); * * To relocate a pool, declare it as extern in cc.h. Example for GCC: - * extern u8_t __attribute__((section(".onchip_mem"))) memp_memory_my_private_pool[]; + * extern u8_t \_\_attribute\_\_((section(".onchip_mem"))) memp_memory_my_private_pool[]; */ #define LWIP_MEMPOOL_DECLARE(name,num,size,desc) \ LWIP_DECLARE_MEMORY_ALIGNED(memp_memory_ ## name ## _base, ((num) * (MEMP_SIZE + MEMP_ALIGN_SIZE(size)))); \ diff --git a/src/include/lwip/opt.h b/src/include/lwip/opt.h index 2c3a8b70..430ef62e 100644 --- a/src/include/lwip/opt.h +++ b/src/include/lwip/opt.h @@ -2897,7 +2897,7 @@ * - option: option value (u8_t) * - len: option data length (u8_t) * - pbuf: pbuf where option data is contained - * - option_value_offset: offset in pbuf where option *data* begins + * - option_value_offset: offset in pbuf where option data begins * * A nice way to get the option contents is pbuf_get_contiguous(): * u8_t buf[32]; diff --git a/src/netif/ethernet.c b/src/netif/ethernet.c index 65bcdc90..fb259c3c 100644 --- a/src/netif/ethernet.c +++ b/src/netif/ethernet.c @@ -261,7 +261,7 @@ free_and_return: * @param p the packet to send. pbuf layer must be @ref PBUF_LINK. * @param src the source MAC address to be copied into the ethernet header * @param dst the destination MAC address to be copied into the ethernet header - * @param eth_type ethernet type (@ref eth_type) + * @param eth_type ethernet type (@ref lwip_ieee_eth_type) * @return ERR_OK if the packet was sent, any other err_t on failure */ err_t