/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */

#ifndef _UAPI_LINUX_NETDEVICE_H
#define _UAPI_LINUX_NETDEVICE_H

#include <linux/if.h>
#include <linux/if_ether.h>
#include <linux/if_packet.h>
#include <linux/if_link.h>


#define MAX_ADDR_LEN	32		


#define INIT_NETDEV_GROUP	0



#define NET_NAME_UNKNOWN	0	
#define NET_NAME_ENUM		1	
#define NET_NAME_PREDICTABLE	2	
#define NET_NAME_USER		3	
#define NET_NAME_RENAMED	4	


enum {
        IF_PORT_UNKNOWN = 0,
        IF_PORT_10BASE2,
        IF_PORT_10BASET,
        IF_PORT_AUI,
        IF_PORT_100BASET,
        IF_PORT_100BASETX,
        IF_PORT_100BASEFX
};


#define NET_ADDR_PERM		0	
#define NET_ADDR_RANDOM		1	
#define NET_ADDR_STOLEN		2	
#define NET_ADDR_SET		3	

#endif 
