ethernet.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2017 Freie Universität Berlin
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 
18 #ifndef NET_GNRC_NETIF_ETHERNET_H
19 #define NET_GNRC_NETIF_ETHERNET_H
20 
21 #include "net/gnrc/netif.h"
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
42 int gnrc_netif_ethernet_create(gnrc_netif_t *netif, char *stack, int stacksize,
43  char priority, char *name, netdev_t *dev);
44 
45 #ifdef __cplusplus
46 }
47 #endif
48 
49 #endif /* NET_GNRC_NETIF_ETHERNET_H */
50 
gnrc_netif_ethernet_create
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.
gnrc_netif_t
Representation of a network interface.
Definition: netif.h:115
netdev
Structure to hold driver state.
Definition: netdev.h:302
netif.h
Definition for GNRC's network interfaces.