Deleted Added
full compact
if_types.h (63954) if_types.h (75175)
1/*
2 * Copyright (c) 1989, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 16 unchanged lines hidden (view full) ---

25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
1/*
2 * Copyright (c) 1989, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 16 unchanged lines hidden (view full) ---

25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)if_types.h 8.2 (Berkeley) 4/20/94
34 * $FreeBSD: head/sys/net/if_types.h 63954 2000-07-28 06:20:11Z asmodai $
33 * @(#)if_types.h 8.3 (Berkeley) 4/28/95
34 * $FreeBSD: head/sys/net/if_types.h 75175 2001-04-04 14:04:52Z yar $
35 */
36
37#ifndef _NET_IF_TYPES_H_
38#define _NET_IF_TYPES_H_
39
40/*
41 * Interface types for benefit of parsing media address headers.
35 */
36
37#ifndef _NET_IF_TYPES_H_
38#define _NET_IF_TYPES_H_
39
40/*
41 * Interface types for benefit of parsing media address headers.
42 * This list is derived from the SNMP list of ifTypes, currently
42 * This list is derived from the SNMP list of ifTypes, originally
43 * documented in RFC1573, now maintained as:
44 *
45 * ftp.isi.edu/in-notes/iana/assignments/smi-numbers
46 */
47
48#define IFT_OTHER 0x1 /* none of the following */
49#define IFT_1822 0x2 /* old-style arpanet imp */
50#define IFT_HDH1822 0x3 /* HDH arpanet imp */
51#define IFT_X25DDN 0x4 /* x25 to imp */
52#define IFT_X25 0x5 /* PDN X25 interface (RFC877) */
43 * documented in RFC1573, now maintained as:
44 *
45 * ftp.isi.edu/in-notes/iana/assignments/smi-numbers
46 */
47
48#define IFT_OTHER 0x1 /* none of the following */
49#define IFT_1822 0x2 /* old-style arpanet imp */
50#define IFT_HDH1822 0x3 /* HDH arpanet imp */
51#define IFT_X25DDN 0x4 /* x25 to imp */
52#define IFT_X25 0x5 /* PDN X25 interface (RFC877) */
53#define IFT_ETHER 0x6 /* Ethernet CSMACD */
54#define IFT_ISO88023 0x7 /* CMSA CD */
53#define IFT_ETHER 0x6 /* Ethernet CSMA/CD */
54#define IFT_ISO88023 0x7 /* CMSA/CD */
55#define IFT_ISO88024 0x8 /* Token Bus */
56#define IFT_ISO88025 0x9 /* Token Ring */
57#define IFT_ISO88026 0xa /* MAN */
58#define IFT_STARLAN 0xb
59#define IFT_P10 0xc /* Proteon 10MBit ring */
60#define IFT_P80 0xd /* Proteon 80MBit ring */
61#define IFT_HY 0xe /* Hyperchannel */
62#define IFT_FDDI 0xf

--- 37 unchanged lines hidden (view full) ---

100#define IFT_PROPVIRTUAL 0x35 /* Proprietary Virtual/internal */
101#define IFT_PROPMUX 0x36 /* Proprietary Multiplexing */
102
103/* not based on IANA assignments */
104#define IFT_GIF 0xf0
105#define IFT_PVC 0xf1
106#define IFT_FAITH 0xf2
107#define IFT_STF 0xf3
55#define IFT_ISO88024 0x8 /* Token Bus */
56#define IFT_ISO88025 0x9 /* Token Ring */
57#define IFT_ISO88026 0xa /* MAN */
58#define IFT_STARLAN 0xb
59#define IFT_P10 0xc /* Proteon 10MBit ring */
60#define IFT_P80 0xd /* Proteon 80MBit ring */
61#define IFT_HY 0xe /* Hyperchannel */
62#define IFT_FDDI 0xf

--- 37 unchanged lines hidden (view full) ---

100#define IFT_PROPVIRTUAL 0x35 /* Proprietary Virtual/internal */
101#define IFT_PROPMUX 0x36 /* Proprietary Multiplexing */
102
103/* not based on IANA assignments */
104#define IFT_GIF 0xf0
105#define IFT_PVC 0xf1
106#define IFT_FAITH 0xf2
107#define IFT_STF 0xf3
108#endif
108#endif /* !_NET_IF_TYPES_H_ */