Loading...
Searching...
No Matches
raw.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2017 Freie Universität Berlin
3 *
4 * This file is subject to the terms and conditions of the GNU Lesser
5 * General Public License v2.1. See the file LICENSE in the top level
6 * directory for more details.
7 */
8
9#pragma once
10
21
22#include "compiler_hints.h"
23#include "net/gnrc/netif.h"
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
44ACCESS(write_only, 2, 3)
45int gnrc_netif_raw_create(gnrc_netif_t *netif, char *stack, int stacksize,
46 char priority, char *name, netdev_t *dev);
47
48#ifdef __cplusplus
49}
50#endif
51
Common macros and compiler attributes/pragmas configuration.
#define ACCESS(mode, ptr_idx, size_idx)
Emit an attribute (if supported by the compiler) that declares how a function will access its paramet...
Definition for GNRC's network interfaces.
struct netdev netdev_t
Forward declaration for netdev struct.
Definition netdev.h:285
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.
Representation of a network interface.
Definition netif.h:140