ethernet.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2017 Freie Universität Berlin
3  * SPDX-License-Identifier: LGPL-2.1-only
4  */
5 
6 #pragma once
7 
18 #include "net/gnrc/netif.h"
19 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
39 int gnrc_netif_ethernet_create(gnrc_netif_t *netif, char *stack, int stacksize,
40  char priority, char *name, netdev_t *dev);
41 
42 #ifdef __cplusplus
43 }
44 #endif
45 
int gnrc_netif_ethernet_create(gnrc_netif_t *netif, char *stack, int stacksize, char priority, char *name, netdev_t *dev)
Creates an Ethernet network interface.
Definition for GNRC's network interfaces.
Representation of a network interface.
Definition: netif.h:129
Structure to hold driver state.
Definition: netdev.h:365