Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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
23
extern
"C"
{
24
#endif
25
31
typedef
struct
{
32
event_t
event
;
33
netdev_t
*
dev
;
34
}
device_reg_entry_t
;
35
39
extern
device_reg_entry_t
_devices
[
NETDEV_ETH_MINIMAL_NUMOF
];
40
41
#ifdef __cplusplus
42
}
43
#endif
44
netdev.h
Definitions low-level network driver interface.
netdev_t
struct netdev netdev_t
Forward declaration for netdev struct.
Definition
netdev.h:285
event_t
struct event event_t
event structure forward declaration
Definition
event.h:132
NETDEV_ETH_MINIMAL_NUMOF
#define NETDEV_ETH_MINIMAL_NUMOF
Maximum number of devices to handle.
Definition
netdev_eth_minimal.h:36
_devices
device_reg_entry_t _devices[NETDEV_ETH_MINIMAL_NUMOF]
Registry of Ethernet devices to serve ISRs.
device_reg_entry_t
Registry entry to keep track of registered Ethernet network devices.
Definition
netdev_eth_minimal_internal.h:31
device_reg_entry_t::dev
netdev_t * dev
pointer to the device
Definition
netdev_eth_minimal_internal.h:33
device_reg_entry_t::event
event_t event
event to serve ISR
Definition
netdev_eth_minimal_internal.h:32
Generated on Tue Nov 3 2026 15:01:18 by
1.13.2