/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ /* * INET An implementation of the TCP/IP protocol suite for the LINUX * operating system. INET is implemented using the BSD Socket * interface as the means of communication with the user level. * * Definitions for the Interfaces handler. * * Version: @(#)dev.h 1.0.10 08/12/93 * * Authors: Ross Biro * Fred N. van Kempen, <[email protected]> * Corey Minyard <[email protected]> * Donald J. Becker, <[email protected]> * Alan Cox, <[email protected]> * Bjorn Ekwall. <[email protected]> * Pekka Riikonen <[email protected]> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version. * * Moved to /usr/include/linux for NET3 */ #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 … /* Initial net device group. All devices belong to group 0 by default. */ #define INIT_NETDEV_GROUP … /* interface name assignment types (sysfs name_assign_type attribute) */ #define NET_NAME_UNKNOWN … #define NET_NAME_ENUM … #define NET_NAME_PREDICTABLE … #define NET_NAME_USER … #define NET_NAME_RENAMED … /* Media selection options. */ enum { … }; /* hardware address assignment types */ #define NET_ADDR_PERM … #define NET_ADDR_RANDOM … #define NET_ADDR_STOLEN … #define NET_ADDR_SET … #endif /* _UAPI_LINUX_NETDEVICE_H */