net/gnrc/netif/raw.h¶
Raw (i.e.
raw IP packets without link-layer information) adaptation for Network interface API
-
gnrc_netif_t *
gnrc_netif_raw_create
(char * stack, int stacksize, char priority, char * name,netdev.h::netdev_t
* dev)¶ Creates a raw 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. See also
Return values
- The network interface on success.
- NULL, on error.