Loading...
Searching...
No Matches
netdev_eth_minimal_internal.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2022 HAW Hamburg
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
9#pragma once
10
20
21#include "net/netdev.h"
22#include "event.h"
23#include "init_dev.h"
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
38
43
44#ifdef __cplusplus
45}
46#endif
47
Definitions low-level network driver interface.
struct netdev netdev_t
Forward declaration for netdev struct.
Definition netdev.h:288
struct event event_t
event structure forward declaration
Definition event.h:135
#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