netdev.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015 Martine Lenders <mlenders@inf.fu-berlin.de>
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
20 #ifndef LWIP_NETIF_NETDEV_H
21 #define LWIP_NETIF_NETDEV_H
22 
23 #include "net/ethernet.h"
24 #include "net/netdev.h"
25 
26 #include "lwip/err.h"
27 #include "lwip/netif.h"
28 #include "lwip/tcpip.h"
29 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33 
38 #ifndef LWIP_NETDEV_BUFLEN
39 #define LWIP_NETDEV_BUFLEN (ETHERNET_MAX_LEN)
40 #endif
41 
56 err_t lwip_netdev_init(struct netif *netif);
57 
58 #ifdef __cplusplus
59 }
60 #endif
61 
62 #endif /* LWIP_NETIF_NETDEV_H */
Definitions low-level network driver interface.
Definitions for Ethernet.
err_t lwip_netdev_init(struct netif *netif)
Initializes the netdev adapter.