/** ****************************************************************************** * @file LwIP/LwIP_TCP_Echo_Server/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 is licensed under terms that can be found in the LICENSE file * in the root directory of this software component. * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** *//* ... *//* Define to prevent recursive inclusion -------------------------------------*/#ifndef__APP_ETHERNET_H#define__APP_ETHERNET_H#ifdef__cplusplusextern"C"{#endif/* Includes ------------------------------------------------------------------*/#include"lwip/netif.h"Includes/* Exported types ------------------------------------------------------------*//* Exported constants --------------------------------------------------------*//* DHCP process states */#defineDHCP_OFF(uint8_t)0#defineDHCP_START(uint8_t)1#defineDHCP_WAIT_ADDRESS(uint8_t)2#defineDHCP_ADDRESS_ASSIGNED(uint8_t)3#defineDHCP_TIMEOUT(uint8_t)4#defineDHCP_LINK_DOWN(uint8_t)56 definesExported constants/* Exported macro ------------------------------------------------------------*//* Exported functions ------------------------------------------------------- */voidethernet_link_status_updated(structnetif*netif);voidEthernet_Link_Periodic_Handle(structnetif*netif);#ifLWIP_DHCPvoidDHCP_Process(structnetif*netif);voidDHCP_Periodic_Handle(structnetif*netif);/* ... */#endif#ifdef__cplusplus}extern "C" { ... }#endif/* ... */#endif/* __APP_ETHERNET_H */
Details
Show: from
Types: Columns:
All items filtered out
All items filtered out
This file uses the notable symbols shown below. Click anywhere in the file to view more details.