HPM APP
HPMicro Application solution
ethernetif.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2021-2024 HPMicro
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  *
6  */
7 
8 #ifndef ETHERNETIF_H
9 #define ETHERNETIF_H
10 
11 
12 #include "lwip/err.h"
13 #include "lwip/netif.h"
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 /* Exported functions---------------------------------------------------------*/
18 err_t ethernetif_init(struct netif *netif);
19 #if defined(NO_SYS) && !NO_SYS
20 void ethernetif_input(void *pvParameters);
21 #else
22 err_t ethernetif_input(struct netif *netif);
23 #endif
24 #ifdef __cplusplus /* __cplusplus */
25 }
26 #endif
27 
28 #endif /* ETHERNETIF_H */
err_t ethernetif_input(struct netif *netif)
Definition: ethernetif.c:362
err_t ethernetif_init(struct netif *netif)
Definition: ethernetif.c:407