Loading...
Searching...
No Matches

Raw (i.e. More...

Detailed Description

Raw (i.e.

raw IP packets without link-layer information) adaptation for 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 raw.h.

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

Go to the source code of this file.

int gnrc_netif_raw_create (gnrc_netif_t *netif, char *stack, int stacksize, char priority, char *name, netdev_t *dev)
 Creates a raw network interface.
 

Function Documentation

◆ gnrc_netif_raw_create()

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

Creates a raw 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