mirror of
https://github.com/apache/nuttx.git
synced 2026-09-08 09:56:33 +00: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:
parent
305c213d15
commit
2b4cf41e14
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue