Subversion Repositories HelenOS

Rev

Rev 4558 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
4075 mejdrech 1
/*
2
 * Copyright (c) 2009 Lukas Mejdrech
3
 * 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
 *
9
 * - Redistributions of source code must retain the above copyright
10
 *   notice, this list of conditions and the following disclaimer.
11
 * - Redistributions in binary form must reproduce the above copyright
12
 *   notice, this list of conditions and the following disclaimer in the
13
 *   documentation and/or other materials provided with the distribution.
14
 * - The name of the author may not be used to endorse or promote products
15
 *   derived from this software without specific prior written permission.
16
 *
17
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18
 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19
 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20
 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21
 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22
 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 */
28
 
29
/** @addtogroup eth
30
 *  @{
31
 */
32
 
33
/** @file
34
 *  Link service access point identifiers.
35
 */
36
 
37
#ifndef __NET_ETHERNET_LSAP_H__
38
#define __NET_ETHERNET_LSAP_H__
39
 
4558 mejdrech 40
#include <sys/types.h>
41
 
4704 mejdrech 42
/** Ethernet LSAP type definition.
43
 */
4558 mejdrech 44
typedef uint8_t eth_lsap_t;
45
 
4704 mejdrech 46
/** @name Ethernet LSAP values definitions
47
 */
48
/*@{*/
49
 
4075 mejdrech 50
/** Null LSAP LSAP identifier.
51
 */
52
#define ETH_LSAP_NULL   0x00
53
/** Individual LLC Sublayer Management Function LSAP identifier.
54
 */
55
#define ETH_LSAP_ISLMF  0x02
56
/** Group LLC Sublayer Management Function LSAP identifier.
57
 */
58
#define ETH_LSAP_GSLMI  0x03
59
/** IBM SNA Path Control (individual) LSAP identifier.
60
 */
61
#define ETH_LSAP_ISNA   0x04
62
/** IBM SNA Path Control (group) LSAP identifier.
63
 */
64
#define ETH_LSAP_GSNA   0x05
65
/** ARPANET Internet Protocol (IP) LSAP identifier.
66
 */
67
#define ETH_LSAP_IP 0x06
68
/** SNA LSAP identifier.
69
 */
70
#define ETH_LSAP_SNA    0x08
71
/** SNA LSAP identifier.
72
 */
73
#define ETH_LSAP_SNA2   0x0C
74
/** PROWAY (IEC955) Network Management & Initialization LSAP identifier.
75
 */
76
#define ETH_LSAP_PROWAY_NMI 0x0E
77
/** Texas Instruments LSAP identifier.
78
 */
79
#define ETH_LSAP_TI 0x18
80
/** IEEE 802.1 Bridge Spanning Tree Protocol LSAP identifier.
81
 */
82
#define ETH_LSAP_BRIDGE 0x42
83
/** EIA RS-511 Manufacturing Message Service LSAP identifier.
84
 */
85
#define ETH_LSAP_EIS    0x4E
86
/** ISO 8208 (X.25 over IEEE 802.2 Type 2 LLC) LSAP identifier.
87
 */
88
#define ETH_LSAP_ISO8208    0x7E
89
/** Xerox Network Systems (XNS) LSAP identifier.
90
 */
91
#define ETH_LSAP_XNS    0x80
92
/** Nestar LSAP identifier.
93
 */
94
#define ETH_LSAP_NESTAR 0x86
95
/** PROWAY (IEC 955) Active Station List Maintenance LSAP identifier.
96
 */
97
#define ETH_LSAP_PROWAY_ASLM    0x8E
98
/** ARPANET Address Resolution Protocol (ARP) LSAP identifier.
99
 */
100
#define ETH_LSAP_ARP    0x98
101
/** Banyan VINES LSAP identifier.
102
 */
103
#define ETH_LSAP_VINES  0xBC
104
/** SubNetwork Access Protocol (SNAP) LSAP identifier.
105
 */
106
#define ETH_LSAP_SNAP   0xAA
107
/** Novell NetWare LSAP identifier.
108
 */
109
#define ETH_LSAP_NETWARE    0xE0
110
/** IBM NetBIOS LSAP identifier.
111
 */
112
#define ETH_LSAP_NETBIOS    0xF0
113
/** IBM LAN Management (individual) LSAP identifier.
114
 */
115
#define ETH_LSAP_ILAN   0xF4
116
/** IBM LAN Management (group) LSAP identifier.
117
 */
118
#define ETH_LSAP_GLAN   0xF5
119
/** IBM Remote Program Load (RPL) LSAP identifier.
120
 */
121
#define ETH_LSAP_RPL    0xF8
122
/** Ungermann-Bass LSAP identifier.
123
 */
124
#define ETH_LSAP_UB 0xFA
125
/** ISO Network Layer Protocol LSAP identifier.
126
 */
127
#define ETH_LSAP_ISONLP 0xFE
128
/** Global LSAP LSAP identifier.
129
 */
130
#define ETH_LSAP_GLSAP  0xFF
131
 
4704 mejdrech 132
/*@}*/
133
 
4075 mejdrech 134
#endif
135
 
136
/** @}
137
 */