Select one of the symbols to view example projects that use it.
 
Outline
#define __APP_ETHERNET_H
Includes
#include "lwip/netif.h"
Exported constants
#define DHCP_OFF
#define DHCP_START
#define DHCP_WAIT_ADDRESS
#define DHCP_ADDRESS_ASSIGNED
#define DHCP_TIMEOUT
#define DHCP_LINK_DOWN
ethernet_link_status_updated(struct netif *);
Ethernet_Link_Periodic_Handle(struct netif *);
DHCP_Process(struct netif *);
DHCP_Periodic_Handle(struct netif *);
Files
loading...
CodeScopeSTM32 Libraries and SamplesLwIP_TCP_Echo_ServerInc/app_ethernet.h
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/** ****************************************************************************** * @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 __cplusplus extern "C" { #endif /* Includes ------------------------------------------------------------------*/ #include "lwip/netif.h" Includes /* 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 6 defines Exported constants /* Exported macro ------------------------------------------------------------*/ /* Exported functions ------------------------------------------------------- */ void ethernet_link_status_updated(struct netif *netif); void Ethernet_Link_Periodic_Handle(struct netif *netif); #if LWIP_DHCP void DHCP_Process(struct netif *netif); void DHCP_Periodic_Handle(struct netif *netif);/* ... */ #endif #ifdef __cplusplus }extern "C" { ... } #endif /* ... */ #endif /* __APP_ETHERNET_H */