Changeset 8fb5842 in mainline
- Timestamp:
- 2010-10-23T17:51:48Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fb9ffb0
- Parents:
- 8c780dc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/include/net_hardware.h
r8c780dc r8fb5842 27 27 */ 28 28 29 /** @addtogroup net_nil30 * 29 /** @addtogroup libnet 30 * @{ 31 31 */ 32 32 33 33 /** @file 34 * Hardware types according to the on-line IANA - Address Resolution Protocol (ARP) Parameters - <http://www.iana.org/assignments/arp-parameters/arp-parameters.xml>, cited January 14 2009. 34 * Hardware types according to the on-line IANA - Address Resolution Protocol 35 * (ARP) Parameters 36 * http://www.iana.org/assignments/arp-parameters/arp-parameters.xml, 37 * cited January 14 2009. 35 38 */ 36 39 37 #ifndef __NET_HW_TYPES_H__38 #define __NET_HW_TYPES_H__40 #ifndef LIBNET_NET_HARDWARE_H_ 41 #define LIBNET_NET_HARDWARE_H_ 39 42 40 43 #include <sys/types.h> 41 44 42 /** Network interface layer type type definition. 43 */ 44 typedef uint8_t hw_type_t; 45 /** Network interface layer type type definition. */ 46 typedef uint8_t hw_type_t; 45 47 46 /** @name Network interface layer types definitions 47 */ 48 /** @name Network interface layer types definitions */ 48 49 /*@{*/ 49 50 50 /** Ethernet (10Mb) hardware type. 51 */ 51 /** Ethernet (10Mb) hardware type. */ 52 52 #define HW_ETHER 1 53 54 /** Experimental Ethernet (3Mb) hardware type.55 */56 #define HW_EETHER 257 58 /** Amateur Radio AX.25 hardware type.59 */60 #define HW_AX25 361 62 /** Proteon ProNET Token Ring hardware type.63 */64 #define HW_PRONET 465 66 /** Chaos hardware type.67 */68 #define HW_CHAOS 569 70 /** IEEE 802 Networks hardware type.71 */72 #define HW_IEEE802 673 74 /** ARCNET hardware type.75 */76 #define HW_ARCNET 777 78 /** Hyperchannel hardware type.79 */80 #define HW_Hyperchannel 881 82 /** Lanstar hardware type.83 */84 #define HW_Lanstar 985 86 /** Autonet Short Address hardware type.87 */88 #define HW_ASA 1089 90 /** LocalTalk hardware type.91 */92 #define HW_LocalTalk 1193 94 /** LocalNet (IBM PCNet or SYTEK LocalNET) hardware type.95 */96 #define HW_LocalNet 1297 98 /** Ultra link hardware type.99 */100 #define HW_Ultra_link 13101 102 /** SMDS hardware type.103 */104 #define HW_SMDS 14105 106 /** Frame Relay DLCI hardware type.107 */108 #define HW_DLCI 15109 110 /** Asynchronous Transmission Mode (ATM) hardware type.111 */112 #define HW_ATM 16113 114 /** HDLC hardware type.115 */116 #define HW_HDLC 17117 118 /** Fibre Channel hardware type.119 */120 #define HW_Fibre_Channel 18121 122 /** Asynchronous Transmission Mode (ATM) hardware type.123 */124 #define HW_ATM2 19125 126 /** Serial Line hardware type.127 */128 #define HW_Serial_Line 20129 130 /** Asynchronous Transmission Mode (ATM) hardware type.131 */132 #define HW_ATM3 21133 134 /** MIL-STD-188-220 hardware type.135 */136 #define HW_MIL_STD_188_220 22137 138 /** Metricom hardware type.139 */140 #define HW_METRICOM 23141 142 /** IEEE 1394.1995 hardware type.143 */144 #define HW_IEEE1394 24145 146 /** MAPOS hardware type.147 */148 #define HW_MAPOS 25149 150 /** Twinaxial hardware type.151 */152 #define HW_Twinaxial 26153 154 /** EUI-64 hardware type.155 */156 #define HW_EUI64 27157 158 /** HIPARP hardware type.159 */160 #define HW_HIPARP 28161 162 /** IP and ARP over ISO 7816-3 hardware type.163 */164 #define HW_ISO_7816_3 29165 166 /** ARPSec hardware type.167 */168 #define HW_ARPSec 30169 170 /** IPsec tunnel hardware type.171 */172 #define HW_IPsec_tunnel 31173 174 /** InfiniBand (TM) hardware type.175 */176 #define HW_INFINIBAND 32177 178 /** TIA-102 Project 25 Common Air Interface (CAI) hardware type.179 */180 #define HW_CAI 33181 182 /** Wiegand Interface hardware type.183 */184 #define HW_Wiegand 34185 186 /** Pure IP hardware type.187 */188 #define HW_Pure_IP 35189 53 190 54 /*@}*/ … … 194 58 /** @} 195 59 */ 60
Note:
See TracChangeset
for help on using the changeset viewer.