Rev 4075 | Go to most recent revision | 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 | |||
| 42 | typedef uint8_t eth_lsap_t; |
||
| 43 | |||
| 4075 | mejdrech | 44 | /** Null LSAP LSAP identifier. |
| 45 | */ |
||
| 46 | #define ETH_LSAP_NULL 0x00 |
||
| 47 | /** Individual LLC Sublayer Management Function LSAP identifier. |
||
| 48 | */ |
||
| 49 | #define ETH_LSAP_ISLMF 0x02 |
||
| 50 | /** Group LLC Sublayer Management Function LSAP identifier. |
||
| 51 | */ |
||
| 52 | #define ETH_LSAP_GSLMI 0x03 |
||
| 53 | /** IBM SNA Path Control (individual) LSAP identifier. |
||
| 54 | */ |
||
| 55 | #define ETH_LSAP_ISNA 0x04 |
||
| 56 | /** IBM SNA Path Control (group) LSAP identifier. |
||
| 57 | */ |
||
| 58 | #define ETH_LSAP_GSNA 0x05 |
||
| 59 | /** ARPANET Internet Protocol (IP) LSAP identifier. |
||
| 60 | */ |
||
| 61 | #define ETH_LSAP_IP 0x06 |
||
| 62 | /** SNA LSAP identifier. |
||
| 63 | */ |
||
| 64 | #define ETH_LSAP_SNA 0x08 |
||
| 65 | /** SNA LSAP identifier. |
||
| 66 | */ |
||
| 67 | #define ETH_LSAP_SNA2 0x0C |
||
| 68 | /** PROWAY (IEC955) Network Management & Initialization LSAP identifier. |
||
| 69 | */ |
||
| 70 | #define ETH_LSAP_PROWAY_NMI 0x0E |
||
| 71 | /** Texas Instruments LSAP identifier. |
||
| 72 | */ |
||
| 73 | #define ETH_LSAP_TI 0x18 |
||
| 74 | /** IEEE 802.1 Bridge Spanning Tree Protocol LSAP identifier. |
||
| 75 | */ |
||
| 76 | #define ETH_LSAP_BRIDGE 0x42 |
||
| 77 | /** EIA RS-511 Manufacturing Message Service LSAP identifier. |
||
| 78 | */ |
||
| 79 | #define ETH_LSAP_EIS 0x4E |
||
| 80 | /** ISO 8208 (X.25 over IEEE 802.2 Type 2 LLC) LSAP identifier. |
||
| 81 | */ |
||
| 82 | #define ETH_LSAP_ISO8208 0x7E |
||
| 83 | /** Xerox Network Systems (XNS) LSAP identifier. |
||
| 84 | */ |
||
| 85 | #define ETH_LSAP_XNS 0x80 |
||
| 86 | /** Nestar LSAP identifier. |
||
| 87 | */ |
||
| 88 | #define ETH_LSAP_NESTAR 0x86 |
||
| 89 | /** PROWAY (IEC 955) Active Station List Maintenance LSAP identifier. |
||
| 90 | */ |
||
| 91 | #define ETH_LSAP_PROWAY_ASLM 0x8E |
||
| 92 | /** ARPANET Address Resolution Protocol (ARP) LSAP identifier. |
||
| 93 | */ |
||
| 94 | #define ETH_LSAP_ARP 0x98 |
||
| 95 | /** Banyan VINES LSAP identifier. |
||
| 96 | */ |
||
| 97 | #define ETH_LSAP_VINES 0xBC |
||
| 98 | /** SubNetwork Access Protocol (SNAP) LSAP identifier. |
||
| 99 | */ |
||
| 100 | #define ETH_LSAP_SNAP 0xAA |
||
| 101 | /** Novell NetWare LSAP identifier. |
||
| 102 | */ |
||
| 103 | #define ETH_LSAP_NETWARE 0xE0 |
||
| 104 | /** IBM NetBIOS LSAP identifier. |
||
| 105 | */ |
||
| 106 | #define ETH_LSAP_NETBIOS 0xF0 |
||
| 107 | /** IBM LAN Management (individual) LSAP identifier. |
||
| 108 | */ |
||
| 109 | #define ETH_LSAP_ILAN 0xF4 |
||
| 110 | /** IBM LAN Management (group) LSAP identifier. |
||
| 111 | */ |
||
| 112 | #define ETH_LSAP_GLAN 0xF5 |
||
| 113 | /** IBM Remote Program Load (RPL) LSAP identifier. |
||
| 114 | */ |
||
| 115 | #define ETH_LSAP_RPL 0xF8 |
||
| 116 | /** Ungermann-Bass LSAP identifier. |
||
| 117 | */ |
||
| 118 | #define ETH_LSAP_UB 0xFA |
||
| 119 | /** ISO Network Layer Protocol LSAP identifier. |
||
| 120 | */ |
||
| 121 | #define ETH_LSAP_ISONLP 0xFE |
||
| 122 | /** Global LSAP LSAP identifier. |
||
| 123 | */ |
||
| 124 | #define ETH_LSAP_GLSAP 0xFF |
||
| 125 | |||
| 126 | #endif |
||
| 127 | |||
| 128 | /** @} |
||
| 129 | */ |