net/gnrc/netif/raw.h File Reference

Raw (i.e. More...

Detailed Description

Raw (i.e.

raw IP packets without link-layer information) adaptation for New network interface API

Author
Martine Lenders m.len.nosp@m.ders.nosp@m.@fu-b.nosp@m.erli.nosp@m.n.de

Definition in file net/gnrc/netif/raw.h.

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

Go to the source code of this file.

Functions

gnrc_netif_tgnrc_netif_raw_create (char *stack, int stacksize, char priority, char *name, netdev_t *dev)
 Creates a raw network interface. More...
 

Function Documentation

◆ gnrc_netif_raw_create()

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

Creates a raw 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()
Returns
The network interface on success.
NULL, on error.