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:
parent
305c213d15
commit
2b4cf41e14
@ -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
|
||||
****************************************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user