WebRadioApp  0.1
lwip.h
Go to the documentation of this file.
1 
18 /* Define to prevent recursive inclusion -------------------------------------*/
19 #ifndef __mx_lwip_H
20 #define __mx_lwip_H
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
25 /* Includes ------------------------------------------------------------------*/
26 #include "lwip/opt.h"
27 #include "lwip/mem.h"
28 #include "lwip/memp.h"
29 #include "netif/etharp.h"
30 #include "lwip/dhcp.h"
31 #include "lwip/dhcp6.h"
32 #include "lwip/netif.h"
33 #include "lwip/timeouts.h"
34 #include "ethernetif.h"
35 
36 /* Includes for RTOS ---------------------------------------------------------*/
37 #if WITH_RTOS
38 #include "lwip/tcpip.h"
39 #endif /* WITH_RTOS */
40 
41 /* USER CODE BEGIN 0 */
42 
43 /* USER CODE END 0 */
44 
45 /* Global Variables ----------------------------------------------------------*/
46 extern ETH_HandleTypeDef heth;
47 
48 /* LWIP init function */
49 void MX_LWIP_Init(void);
50 
51 #if !WITH_RTOS
52 /* USER CODE BEGIN 1 */
53 /* Function defined in lwip.c to:
54  * - Read a received packet from the Ethernet buffers
55  * - Send it to the lwIP stack for handling
56  * - Handle timeouts if NO_SYS_NO_TIMERS not set
57  */
58 void MX_LWIP_Process(void);
59 
60 /* USER CODE END 1 */
61 #endif /* WITH_RTOS */
62 
63 #ifdef __cplusplus
64 }
65 #endif
66 #endif /*__ mx_lwip_H */
67 
72 /*****END OF FILE****/
MX_LWIP_Process
void MX_LWIP_Process(void)
Read a received packet from the Ethernet buffers.
Definition: lwip.c:139
netmask
ip4_addr_t netmask
Definition: lwip.c:46
ethernetif_init
err_t ethernetif_init(struct netif *netif)
Definition: ethernetif.c:506
ethernetif_input
void ethernetif_input(struct netif *netif)
Definition: ethernetif.c:451
MX_LWIP_Init
void MX_LWIP_Init(void)
LwIP initialization function.
Definition: lwip.c:58
data
char data[48]
Definition: ntpudp.c:32
DHCPfineTimer
uint32_t DHCPfineTimer
Definition: lwip.c:36
Error_Handler
void Error_Handler(void)
This function is executed in case of error occurrence.
Definition: main.cpp:693
gw
ip4_addr_t gw
Definition: lwip.c:47
heth
ETH_HandleTypeDef heth
Definition: ethernetif.c:115
lwip.h
Initialization code for LWIP middleWare. (partially based on examples that are provided within the ST...
ethernet_link_status_updated
static void ethernet_link_status_updated(struct netif *netif)
Notify the User about the network interface config status.
Definition: lwip.c:161
Ethernet_Link_Periodic_Handle
static void Ethernet_Link_Periodic_Handle(struct netif *netif)
Ethernet Link periodic check.
Definition: lwip.c:116
ipaddr
ip4_addr_t ipaddr
Definition: lwip.c:45
ethernet_link_check_state
void ethernet_link_check_state(struct netif *netif)
Check the ETH link state then update ETH driver and netif link accordingly.
Definition: ethernetif.c:662
ethernetif.h
Initialization code for LWIP middleWare. (partially based on examples that are provided within the ST...
gnetif
struct netif gnetif
Definition: lwip.c:44
EthernetLinkTimer
uint32_t EthernetLinkTimer
Definition: lwip.c:41
DHCPcoarseTimer
uint32_t DHCPcoarseTimer
Definition: lwip.c:37