/** ****************************************************************************** * @file LwIP/LwIP_HTTP_Server_Netconn_RTOS/Inc/app_ethernet.h * @author MCD Application Team * @brief Header for app_ethernet.c module ****************************************************************************** * @attention * *

© Copyright (c) 2017 STMicroelectronics. * All rights reserved.

* * This software component is licensed by ST under Ultimate Liberty license * SLA0044, the "License"; You may not use this file except in compliance with * the License. You may obtain a copy of the License at: * www.st.com/SLA0044 * ****************************************************************************** */ /* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __APP_ETHERNET_H #define __APP_ETHERNET_H #ifdef __cplusplus extern "C" { #endif /* Includes ------------------------------------------------------------------*/ #include "lwip/netif.h" /* Exported types ------------------------------------------------------------*/ /* Exported constants --------------------------------------------------------*/ /* DHCP process states */ #define DHCP_OFF (uint8_t) 0 #define DHCP_START (uint8_t) 1 #define DHCP_WAIT_ADDRESS (uint8_t) 2 #define DHCP_ADDRESS_ASSIGNED (uint8_t) 3 #define DHCP_TIMEOUT (uint8_t) 4 #define DHCP_LINK_DOWN (uint8_t) 5 #define DHCP_WAIT_LINK_UP (uint8_t) 6 /* Exported macro ------------------------------------------------------------*/ /* Exported functions ------------------------------------------------------- */ void ethernet_link_status_updated(struct netif *netif); #if LWIP_DHCP void DHCP_Thread(void const * argument); #endif #ifdef __cplusplus } #endif #endif /* __APP_ETHERNET_H */ /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/