Loading...
Searching...
No Matches
netdev_eth_minimal_internal.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2022 HAW Hamburg
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
17
18#include "net/netdev.h"
19#include "event.h"
20#include "init_dev.h"
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
35
40
41#ifdef __cplusplus
42}
43#endif
44
Definitions low-level network driver interface.
struct netdev netdev_t
Forward declaration for netdev struct.
Definition netdev.h:285
struct event event_t
event structure forward declaration
Definition event.h:132
#define NETDEV_ETH_MINIMAL_NUMOF
Maximum number of devices to handle.
device_reg_entry_t _devices[NETDEV_ETH_MINIMAL_NUMOF]
Registry of Ethernet devices to serve ISRs.
Registry entry to keep track of registered Ethernet network devices.
netdev_t * dev
pointer to the device
event_t event
event to serve ISR