mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 06:39:01 +08:00
tun: move tun related macro definitions out of CONFIG_NET_TUN
to support cross-core tun device operations via rpmsgdev Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
This commit is contained in:
@@ -46,8 +46,6 @@
|
||||
#include <nuttx/config.h>
|
||||
#include <nuttx/net/ioctl.h>
|
||||
|
||||
#ifdef CONFIG_NET_TUN
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
@@ -59,6 +57,8 @@
|
||||
#define IFF_MASK 0x7f
|
||||
#define IFF_NO_PI 0x80
|
||||
|
||||
#ifdef CONFIG_NET_TUN
|
||||
|
||||
/****************************************************************************
|
||||
* Public Type Definitions
|
||||
****************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user