Loading...
Searching...
No Matches

Ethernet adaption for Network interface API. More...

Detailed Description

Ethernet adaption for Network interface API.

Author
Martine Lenders mlend.nosp@m.ers@.nosp@m.inf.f.nosp@m.u-be.nosp@m.rlin..nosp@m.de

Definition in file ethernet.h.

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

Go to the source code of this file.

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.
 

Function Documentation

◆ 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.

Parameters
[out]netifThe interface. May not be NULL.
[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()
Returns
0 on success
negative number on error