/* * SPDX-FileCopyrightText: 2017 Freie Universität Berlin * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once /** * @addtogroup drivers_netdev * @{ */ /** * @file * @brief Default configuration for the netdev_tap driver * @author Martine Lenders */ #include "netdev_tap.h" #ifdef __cplusplus extern "C" { #endif /** * @brief Number of allocated parameters at @ref netdev_tap_params * * @note This was decided to only be configurable on compile-time to be * more similar to actual boards */ #if !defined(NETDEV_TAP_MAX) || defined(DOXYGEN) # define NETDEV_TAP_MAX (1) #endif /** * @brief Configuration parameters for @ref netdev_tap_t * * @note This variable is set on native start-up based on arguments provided */ extern netdev_tap_params_t netdev_tap_params[NETDEV_TAP_MAX]; #ifdef __cplusplus } #endif /** @} */