gnrc/netif/ethernet.h File Reference

Ethernet adaption for New network interface API. More...

Detailed Description

#include "net/gnrc/netif.h"
+ Include dependency graph for gnrc/netif/ethernet.h:

Go to the source code of this file.

Functions

gnrc_netif_tgnrc_netif_ethernet_create (char *stack, int stacksize, char priority, char *name, netdev_t *dev)
 Creates an Ethernet network interface. More...
 

Function Documentation

◆ gnrc_netif_ethernet_create()

gnrc_netif_t* gnrc_netif_ethernet_create ( char *  stack,
int  stacksize,
char  priority,
char *  name,
netdev_t dev 
)

Creates an Ethernet network interface.

Parameters
[in]stackThe stack for the network interface's thread.
[in]stacksizeSize of stack.
[in]priorityPriority for the network interface's thread.
[in]nameName for the network interface. May be NULL.
[in]devDevice for the interface.
See also
gnrc_netif_create()
Attention
Fails and crashes (assertion error with DEVELHELP or segmentation fault without) if GNRC_NETIF_NUMOF is lower than the number of calls to this function.
Returns
The network interface on success.