Loading...
Searching...
No Matches
raw.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2017 Freie Universität Berlin
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
18
19#include "compiler_hints.h"
20#include "net/gnrc/netif.h"
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
41ACCESS(write_only, 2, 3)
42int gnrc_netif_raw_create(gnrc_netif_t *netif, char *stack, int stacksize,
43 char priority, char *name, netdev_t *dev);
44
45#ifdef __cplusplus
46}
47#endif
48
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:137