~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/uapi/linux/netdevice.h

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /include/uapi/linux/netdevice.h (Version linux-6.11.5) and /include/uapi/linux/netdevice.h (Version linux-3.10.108)


  1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linu << 
  2 /*                                                  1 /*
  3  * INET         An implementation of the TCP/I      2  * INET         An implementation of the TCP/IP protocol suite for the LINUX
  4  *              operating system.  INET is imp      3  *              operating system.  INET is implemented using the  BSD Socket
  5  *              interface as the means of comm      4  *              interface as the means of communication with the user level.
  6  *                                                  5  *
  7  *              Definitions for the Interfaces      6  *              Definitions for the Interfaces handler.
  8  *                                                  7  *
  9  * Version:     @(#)dev.h       1.0.10  08/12/      8  * Version:     @(#)dev.h       1.0.10  08/12/93
 10  *                                                  9  *
 11  * Authors:     Ross Biro                          10  * Authors:     Ross Biro
 12  *              Fred N. van Kempen, <waltje@uW     11  *              Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
 13  *              Corey Minyard <wf-rch!minyard@     12  *              Corey Minyard <wf-rch!minyard@relay.EU.net>
 14  *              Donald J. Becker, <becker@cesd     13  *              Donald J. Becker, <becker@cesdis.gsfc.nasa.gov>
 15  *              Alan Cox, <alan@lxorguk.ukuu.o     14  *              Alan Cox, <alan@lxorguk.ukuu.org.uk>
 16  *              Bjorn Ekwall. <bj0rn@blox.se>      15  *              Bjorn Ekwall. <bj0rn@blox.se>
 17  *              Pekka Riikonen <priikone@posei     16  *              Pekka Riikonen <priikone@poseidon.pspt.fi>
 18  *                                                 17  *
 19  *              This program is free software;     18  *              This program is free software; you can redistribute it and/or
 20  *              modify it under the terms of t     19  *              modify it under the terms of the GNU General Public License
 21  *              as published by the Free Softw     20  *              as published by the Free Software Foundation; either version
 22  *              2 of the License, or (at your      21  *              2 of the License, or (at your option) any later version.
 23  *                                                 22  *
 24  *              Moved to /usr/include/linux fo     23  *              Moved to /usr/include/linux for NET3
 25  */                                                24  */
 26 #ifndef _UAPI_LINUX_NETDEVICE_H                    25 #ifndef _UAPI_LINUX_NETDEVICE_H
 27 #define _UAPI_LINUX_NETDEVICE_H                    26 #define _UAPI_LINUX_NETDEVICE_H
 28                                                    27 
 29 #include <linux/if.h>                              28 #include <linux/if.h>
 30 #include <linux/if_ether.h>                        29 #include <linux/if_ether.h>
 31 #include <linux/if_packet.h>                       30 #include <linux/if_packet.h>
 32 #include <linux/if_link.h>                         31 #include <linux/if_link.h>
 33                                                    32 
 34                                                    33 
 35 #define MAX_ADDR_LEN    32              /* Lar     34 #define MAX_ADDR_LEN    32              /* Largest hardware address length */
 36                                                    35 
 37 /* Initial net device group. All devices belon     36 /* Initial net device group. All devices belong to group 0 by default. */
 38 #define INIT_NETDEV_GROUP       0                  37 #define INIT_NETDEV_GROUP       0
 39                                                    38 
 40                                                    39 
 41 /* interface name assignment types (sysfs name << 
 42 #define NET_NAME_UNKNOWN        0       /* unk << 
 43 #define NET_NAME_ENUM           1       /* enu << 
 44 #define NET_NAME_PREDICTABLE    2       /* pre << 
 45 #define NET_NAME_USER           3       /* pro << 
 46 #define NET_NAME_RENAMED        4       /* ren << 
 47                                                    40 
 48 /* Media selection options. */                     41 /* Media selection options. */
 49 enum {                                             42 enum {
 50         IF_PORT_UNKNOWN = 0,                       43         IF_PORT_UNKNOWN = 0,
 51         IF_PORT_10BASE2,                           44         IF_PORT_10BASE2,
 52         IF_PORT_10BASET,                           45         IF_PORT_10BASET,
 53         IF_PORT_AUI,                               46         IF_PORT_AUI,
 54         IF_PORT_100BASET,                          47         IF_PORT_100BASET,
 55         IF_PORT_100BASETX,                         48         IF_PORT_100BASETX,
 56         IF_PORT_100BASEFX                          49         IF_PORT_100BASEFX
 57 };                                                 50 };
 58                                                    51 
 59 /* hardware address assignment types */        << 
 60 #define NET_ADDR_PERM           0       /* add << 
 61 #define NET_ADDR_RANDOM         1       /* add << 
 62 #define NET_ADDR_STOLEN         2       /* add << 
 63 #define NET_ADDR_SET            3       /* add << 
 64                                          * dev << 
 65                                                    52 
 66 #endif /* _UAPI_LINUX_NETDEVICE_H */               53 #endif /* _UAPI_LINUX_NETDEVICE_H */
 67                                                    54 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php