2016-07-07 21:38:08 +02:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2017 Freie Universität Berlin
|
|
|
|
*
|
|
|
|
* This file is subject to the terms and conditions of the GNU Lesser
|
|
|
|
* General Public License v2.1. See the file LICENSE in the top level
|
|
|
|
* directory for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
2018-06-01 12:17:51 +02:00
|
|
|
* @ingroup drivers_netdev
|
2016-07-07 21:38:08 +02:00
|
|
|
* @brief
|
|
|
|
* @{
|
|
|
|
*
|
|
|
|
* @file
|
2017-02-15 13:07:34 +01:00
|
|
|
* @brief Default configuration for the netdev_tap driver
|
2016-07-07 21:38:08 +02:00
|
|
|
*
|
|
|
|
* @author Martine Lenders <m.lenders@fu-berlin.de>
|
|
|
|
*/
|
2017-05-23 18:19:52 +02:00
|
|
|
#ifndef NETDEV_TAP_PARAMS_H
|
|
|
|
#define NETDEV_TAP_PARAMS_H
|
2016-07-07 21:38:08 +02:00
|
|
|
|
2017-02-15 13:07:34 +01:00
|
|
|
#include "netdev_tap.h"
|
2016-07-07 21:38:08 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/**
|
2017-02-15 13:07:34 +01:00
|
|
|
* @brief Number of allocated parameters at @ref netdev_tap_params
|
2016-07-07 21:38:08 +02:00
|
|
|
*
|
|
|
|
* @note This was decided to only be configurable on compile-time to be
|
|
|
|
* more similar to actual boards
|
|
|
|
*/
|
2017-02-15 13:07:34 +01:00
|
|
|
#ifndef NETDEV_TAP_MAX
|
|
|
|
#define NETDEV_TAP_MAX (1)
|
2016-07-07 21:38:08 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/**
|
2017-02-15 13:07:34 +01:00
|
|
|
* @brief Configuration parameters for @ref netdev_tap_t
|
2016-07-07 21:38:08 +02:00
|
|
|
*
|
|
|
|
* @note This variable is set on native start-up based on arguments provided
|
|
|
|
*/
|
2017-02-15 13:07:34 +01:00
|
|
|
extern netdev_tap_params_t netdev_tap_params[NETDEV_TAP_MAX];
|
2016-07-07 21:38:08 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2017-05-23 18:19:52 +02:00
|
|
|
#endif /* NETDEV_TAP_PARAMS_H */
|
2016-07-07 21:38:08 +02:00
|
|
|
/** @} */
|