Dr Andrew Scott G7VAV

My photo
 
May 2024
Mo Tu We Th Fr Sa Su
29 30 1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31 1 2
3 4 5 6 7 8 9


netdevice.h
01: /*
02:  * INET         An implementation of the TCP/IP protocol suite for the LINUX
03:  *              operating system.  INET is implemented using the  BSD Socket
04:  *              interface as the means of communication with the user level.
05:  *
06:  *              Definitions for the Interfaces handler.
07:  *
08:  * Version:     @(#)dev.h       1.0.10  08/12/93
09:  *
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 _LINUX_NETDEVICE_H
26: #define _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  /* _LINUX_NETDEVICE_H */
54: 


for client 3.147.103.8
© Andrew Scott 2006 - 2024,
All Rights Reserved
http://www.andrew-scott.uk/
Andrew Scott
http://www.andrew-scott.co.uk/