diff options
| author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-17 08:32:49 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-17 08:32:49 -0400 |
| commit | 214e2ca2b82d335935a861c253fe94c61ad77aad (patch) | |
| tree | eee42ff74d10470789d919b8499737ad0e919360 /include/uapi/linux/netdevice.h | |
| parent | 1fdead8ad31d3aa833bc37739273fcde89ace93c (diff) | |
| parent | ddffeb8c4d0331609ef2581d84de4d763607bd37 (diff) | |
Merge tag 'v3.7-rc1' into staging/for_v3.8
Linux 3.7-rc1
* tag 'v3.7-rc1': (9579 commits)
Linux 3.7-rc1
x86, boot: Explicitly include autoconf.h for hostprogs
perf: Fix UAPI fallout
ARM: config: make sure that platforms are ordered by option string
ARM: config: sort select statements alphanumerically
UAPI: (Scripted) Disintegrate include/linux/byteorder
UAPI: (Scripted) Disintegrate include/linux
UAPI: Unexport linux/blk_types.h
UAPI: Unexport part of linux/ppp-comp.h
perf: Handle new rbtree implementation
procfs: don't need a PATH_MAX allocation to hold a string representation of an int
vfs: embed struct filename inside of names_cache allocation if possible
audit: make audit_inode take struct filename
vfs: make path_openat take a struct filename pointer
vfs: turn do_path_lookup into wrapper around struct filename variant
audit: allow audit code to satisfy getname requests from its names_list
vfs: define struct filename and have getname() return it
btrfs: Fix compilation with user namespace support enabled
userns: Fix posix_acl_file_xattr_userns gid conversion
userns: Properly print bluetooth socket uids
...
Diffstat (limited to 'include/uapi/linux/netdevice.h')
| -rw-r--r-- | include/uapi/linux/netdevice.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/include/uapi/linux/netdevice.h b/include/uapi/linux/netdevice.h new file mode 100644 index 000000000000..6b9500bc2d56 --- /dev/null +++ b/include/uapi/linux/netdevice.h | |||
| @@ -0,0 +1,53 @@ | |||
| 1 | /* | ||
| 2 | * INET An implementation of the TCP/IP protocol suite for the LINUX | ||
| 3 | * operating system. INET is implemented using the BSD Socket | ||
| 4 | * interface as the means of communication with the user level. | ||
| 5 | * | ||
| 6 | * Definitions for the Interfaces handler. | ||
| 7 | * | ||
| 8 | * Version: @(#)dev.h 1.0.10 08/12/93 | ||
| 9 | * | ||
| 10 | * Authors: Ross Biro | ||
| 11 | * Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG> | ||
| 12 | * Corey Minyard <wf-rch!minyard@relay.EU.net> | ||
| 13 | * Donald J. Becker, <becker@cesdis.gsfc.nasa.gov> | ||
| 14 | * Alan Cox, <alan@lxorguk.ukuu.org.uk> | ||
| 15 | * Bjorn Ekwall. <bj0rn@blox.se> | ||
| 16 | * Pekka Riikonen <priikone@poseidon.pspt.fi> | ||
| 17 | * | ||
| 18 | * This program is free software; you can redistribute it and/or | ||
| 19 | * modify it under the terms of the GNU General Public License | ||
| 20 | * as published by the Free Software Foundation; either version | ||
| 21 | * 2 of the License, or (at your option) any later version. | ||
| 22 | * | ||
| 23 | * Moved to /usr/include/linux for NET3 | ||
| 24 | */ | ||
| 25 | #ifndef _UAPI_LINUX_NETDEVICE_H | ||
| 26 | #define _UAPI_LINUX_NETDEVICE_H | ||
| 27 | |||
| 28 | #include <linux/if.h> | ||
| 29 | #include <linux/if_ether.h> | ||
| 30 | #include <linux/if_packet.h> | ||
| 31 | #include <linux/if_link.h> | ||
| 32 | |||
| 33 | |||
| 34 | #define MAX_ADDR_LEN 32 /* Largest hardware address length */ | ||
| 35 | |||
| 36 | /* Initial net device group. All devices belong to group 0 by default. */ | ||
| 37 | #define INIT_NETDEV_GROUP 0 | ||
| 38 | |||
| 39 | |||
| 40 | |||
| 41 | /* Media selection options. */ | ||
| 42 | enum { | ||
| 43 | IF_PORT_UNKNOWN = 0, | ||
| 44 | IF_PORT_10BASE2, | ||
| 45 | IF_PORT_10BASET, | ||
| 46 | IF_PORT_AUI, | ||
| 47 | IF_PORT_100BASET, | ||
| 48 | IF_PORT_100BASETX, | ||
| 49 | IF_PORT_100BASEFX | ||
| 50 | }; | ||
| 51 | |||
| 52 | |||
| 53 | #endif /* _UAPI_LINUX_NETDEVICE_H */ | ||
