gnrc/netif/ethernet.h

Ethernet adaption for Network interface API.

gnrc_netif_t * gnrc_netif_ethernet_create(char * stack, int stacksize, char priority, char * name, netdev.h::netdev_t * dev)

Creates an Ethernet network interface.

Parameters

stack:The stack for the network interface’s thread.
stacksize:Size of stack.
priority:Priority for the network interface’s thread.
name:Name for the network interface. May be NULL.
dev:Device for the interface.

Return values

  • The network interface on success.