Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
arptypes.h
1 /* arptypes.h
2  * Declarations of ARP address types.
3  *
4  * Wireshark - Network traffic analyzer
5  * By Gerald Combs <gerald@wireshark.org>
6  * Copyright 1998 Gerald Combs
7  *
8  * SPDX-License-Identifier: GPL-2.0-or-later
9  */
10 
11 #ifndef __ARPTYPES_H__
12 #define __ARPTYPES_H__
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif /* __cplusplus */
17 
18 /* Definitions taken from Linux "linux/if_arp.h" header file, and from
19 
20  http://www.iana.org/assignments/arp-parameters
21 
22  */
23 
24 /* ARP protocol HARDWARE identifiers. */
25 #define ARPHRD_NETROM 0 /* from KA9Q: NET/ROM pseudo */
26 #define ARPHRD_ETHER 1 /* Ethernet 10Mbps */
27 #define ARPHRD_EETHER 2 /* Experimental Ethernet */
28 #define ARPHRD_AX25 3 /* AX.25 Level 2 */
29 #define ARPHRD_PRONET 4 /* PROnet token ring */
30 #define ARPHRD_CHAOS 5 /* Chaosnet */
31 #define ARPHRD_IEEE802 6 /* IEEE 802.2 Ethernet/TR/TB */
32 #define ARPHRD_ARCNET 7 /* ARCnet */
33 #define ARPHRD_HYPERCH 8 /* Hyperchannel */
34 #define ARPHRD_LANSTAR 9 /* Lanstar */
35 #define ARPHRD_AUTONET 10 /* Autonet Short Address */
36 #define ARPHRD_LOCALTLK 11 /* Localtalk */
37 #define ARPHRD_LOCALNET 12 /* LocalNet (IBM PCNet/Sytek LocalNET) */
38 #define ARPHRD_ULTRALNK 13 /* Ultra link */
39 #define ARPHRD_SMDS 14 /* SMDS */
40 #define ARPHRD_DLCI 15 /* Frame Relay DLCI */
41 #define ARPHRD_ATM 16 /* ATM */
42 #define ARPHRD_HDLC 17 /* HDLC */
43 #define ARPHRD_FIBREC 18 /* Fibre Channel */
44 #define ARPHRD_ATM2225 19 /* ATM (RFC 2225) */
45 #define ARPHRD_SERIAL 20 /* Serial Line */
46 #define ARPHRD_ATM2 21 /* ATM */
47 #define ARPHRD_MS188220 22 /* MIL-STD-188-220 */
48 #define ARPHRD_METRICOM 23 /* Metricom STRIP */
49 #define ARPHRD_IEEE1394 24 /* IEEE 1394.1995 */
50 #define ARPHRD_MAPOS 25 /* MAPOS */
51 #define ARPHRD_TWINAX 26 /* Twinaxial */
52 #define ARPHRD_EUI_64 27 /* EUI-64 */
53 #define ARPHRD_HIPARP 28 /* HIPARP */
54 #define ARPHRD_IP_ARP_ISO_7816_3 29 /* IP and ARP over ISO 7816-3 */
55 #define ARPHRD_ARPSEC 30 /* ARPSec */
56 #define ARPHRD_IPSEC_TUNNEL 31 /* IPsec tunnel */
57 #define ARPHRD_INFINIBAND 32 /* InfiniBand */
58 #define ARPHRD_TIA_102_PRJ_25_CAI 33 /* TIA-102 Project 25 CAI */
59 #define ARPHRD_WIEGAND_INTERFACE 34 /* Wiegand Interface */
60 #define ARPHRD_PURE_IP 35 /* Pure IP */
61 #define ARPHDR_HW_EXP1 36 /* HW_EXP1 */
62 #define ARPHDR_HFI 37 /* HFI */
63 #define ARPHDR_HW_EXP2 256 /* HW_EXP2 */
64 
65 /* Virtual ARP types for non ARP hardware used in Linux cooked mode. */
66 #define ARPHRD_LOOPBACK 772 /* Loopback */
67 #define ARPHRD_IPGRE 778 /* GRE over IP */
68 #define ARPHRD_NETLINK 824 /* netlink */
69 
70 #ifdef __cplusplus
71 }
72 #endif /* __cplusplus */
73 
74 #endif /* arptypes.h */