2 * Declarations of ARP address types.
6 * Wireshark - Network traffic analyzer
7 * By Gerald Combs <gerald@wireshark.org>
8 * Copyright 1998 Gerald Combs
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License
12 * as published by the Free Software Foundation; either version 2
13 * of the License, or (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
25 #ifndef __ARPTYPES_H__
26 #define __ARPTYPES_H__
30 #endif /* __cplusplus */
32 /* Definitions taken from Linux "linux/if_arp.h" header file, and from
34 http://www.iana.org/assignments/arp-parameters
38 /* ARP protocol HARDWARE identifiers. */
39 #define ARPHRD_NETROM 0 /* from KA9Q: NET/ROM pseudo */
40 #define ARPHRD_ETHER 1 /* Ethernet 10Mbps */
41 #define ARPHRD_EETHER 2 /* Experimental Ethernet */
42 #define ARPHRD_AX25 3 /* AX.25 Level 2 */
43 #define ARPHRD_PRONET 4 /* PROnet token ring */
44 #define ARPHRD_CHAOS 5 /* Chaosnet */
45 #define ARPHRD_IEEE802 6 /* IEEE 802.2 Ethernet/TR/TB */
46 #define ARPHRD_ARCNET 7 /* ARCnet */
47 #define ARPHRD_HYPERCH 8 /* Hyperchannel */
48 #define ARPHRD_LANSTAR 9 /* Lanstar */
49 #define ARPHRD_AUTONET 10 /* Autonet Short Address */
50 #define ARPHRD_LOCALTLK 11 /* Localtalk */
51 #define ARPHRD_LOCALNET 12 /* LocalNet (IBM PCNet/Sytek LocalNET) */
52 #define ARPHRD_ULTRALNK 13 /* Ultra link */
53 #define ARPHRD_SMDS 14 /* SMDS */
54 #define ARPHRD_DLCI 15 /* Frame Relay DLCI */
55 #define ARPHRD_ATM 16 /* ATM */
56 #define ARPHRD_HDLC 17 /* HDLC */
57 #define ARPHRD_FIBREC 18 /* Fibre Channel */
58 #define ARPHRD_ATM2225 19 /* ATM (RFC 2225) */
59 #define ARPHRD_SERIAL 20 /* Serial Line */
60 #define ARPHRD_ATM2 21 /* ATM */
61 #define ARPHRD_MS188220 22 /* MIL-STD-188-220 */
62 #define ARPHRD_METRICOM 23 /* Metricom STRIP */
63 #define ARPHRD_IEEE1394 24 /* IEEE 1394.1995 */
64 #define ARPHRD_MAPOS 25 /* MAPOS */
65 #define ARPHRD_TWINAX 26 /* Twinaxial */
66 #define ARPHRD_EUI_64 27 /* EUI-64 */
67 #define ARPHRD_HIPARP 28 /* HIPARP */
68 #define ARPHRD_IP_ARP_ISO_7816_3 29 /* IP and ARP over ISO 7816-3 */
69 #define ARPHRD_ARPSEC 30 /* ARPSec */
70 #define ARPHRD_IPSEC_TUNNEL 31 /* IPsec tunnel */
71 #define ARPHRD_INFINIBAND 32 /* InfiniBand */
72 #define ARPHRD_TIA_102_PRJ_25_CAI 33 /* TIA-102 Project 25 CAI */
73 #define ARPHRD_WIEGAND_INTERFACE 34 /* Wiegand Interface */
74 #define ARPHRD_PURE_IP 35 /* Pure IP */
75 #define ARPHDR_HW_EXP1 36 /* HW_EXP1 */
76 #define ARPHDR_HFI 37 /* HFI */
77 #define ARPHDR_HW_EXP2 256 /* HW_EXP2 */
79 /* Virtual ARP types for non ARP hardware used in Linux cooked mode. */
80 #define ARPHRD_IPGRE 778 /* GRE over IP */
84 #endif /* __cplusplus */
86 #endif /* arptypes.h */