1 /*
2  * This file is auto-generated. Modifications will be lost.
3  *
4  * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5  * for more information.
6  */
7 #ifndef _UAPI_LINUX_NETDEVICE_H
8 #define _UAPI_LINUX_NETDEVICE_H
9 #include <linux/if.h>
10 #include <linux/if_ether.h>
11 #include <linux/if_packet.h>
12 #include <linux/if_link.h>
13 #define MAX_ADDR_LEN 32
14 #define INIT_NETDEV_GROUP 0
15 #define NET_NAME_UNKNOWN 0
16 #define NET_NAME_ENUM 1
17 #define NET_NAME_PREDICTABLE 2
18 #define NET_NAME_USER 3
19 #define NET_NAME_RENAMED 4
20 enum {
21   IF_PORT_UNKNOWN = 0,
22   IF_PORT_10BASE2,
23   IF_PORT_10BASET,
24   IF_PORT_AUI,
25   IF_PORT_100BASET,
26   IF_PORT_100BASETX,
27   IF_PORT_100BASEFX
28 };
29 #define NET_ADDR_PERM 0
30 #define NET_ADDR_RANDOM 1
31 #define NET_ADDR_STOLEN 2
32 #define NET_ADDR_SET 3
33 #endif
34