Loading...
Searching...
No Matches
netdev.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2015 Martine Lenders <mlenders@inf.fu-berlin.de>
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
19
20#include "net/ethernet.h"
21#include "net/netdev.h"
22
23#include "lwip/err.h"
24#include "lwip/netif.h"
25#include "lwip/tcpip.h"
26
27#ifdef __cplusplus
28extern "C" {
29#endif
30
35#ifndef LWIP_NETDEV_BUFLEN
36#define LWIP_NETDEV_BUFLEN (ETHERNET_MAX_LEN)
37#endif
38
53err_t lwip_netdev_init(struct netif *netif);
54
55#ifdef __cplusplus
56}
57#endif
58
Definitions low-level network driver interface.
Definitions for Ethernet.
err_t lwip_netdev_init(struct netif *netif)
Initializes the netdev adapter.