*
* Declarations of ARP address types.
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef __ARPTYPES_H__
#define __ARPTYPES_H__
#ifdef __cplusplus
extern "C" {
#endif
*/
* ARP protocol HARDWARE identifiers.
*
* From
*
* https://www.iana.org/assignments/arp-parameters/arp-parameters.xhtml#arp-parameters-2
*
* XXX - ARPHRD_NETROM is from Linux linux/if_arp.h file; 0 is reserved,
* probably permanently, by RFC 5494.
*/
#define ARPHRD_NETROM 0
#define ARPHRD_ETHER 1
#define ARPHRD_EETHER 2
#define ARPHRD_AX25 3
#define ARPHRD_PRONET 4
#define ARPHRD_CHAOS 5
#define ARPHRD_IEEE802 6
#define ARPHRD_ARCNET 7
#define ARPHRD_HYPERCH 8
#define ARPHRD_LANSTAR 9
#define ARPHRD_AUTONET 10
#define ARPHRD_LOCALTLK 11
#define ARPHRD_LOCALNET 12
#define ARPHRD_ULTRALNK 13
#define ARPHRD_SMDS 14
#define ARPHRD_DLCI 15
#define ARPHRD_ATM 16
#define ARPHRD_HDLC 17
#define ARPHRD_FIBREC 18
#define ARPHRD_ATM2225 19
#define ARPHRD_SERIAL 20
#define ARPHRD_ATM2 21
#define ARPHRD_MS188220 22
#define ARPHRD_METRICOM 23
#define ARPHRD_IEEE1394 24
#define ARPHRD_MAPOS 25
#define ARPHRD_TWINAX 26
#define ARPHRD_EUI_64 27
#define ARPHRD_HIPARP 28
#define ARPHRD_IP_ARP_ISO_7816_3 29
#define ARPHRD_ARPSEC 30
#define ARPHRD_IPSEC_TUNNEL 31
#define ARPHRD_INFINIBAND 32
#define ARPHRD_TIA_102_PRJ_25_CAI 33
#define ARPHRD_WIEGAND_INTERFACE 34
#define ARPHRD_PURE_IP 35
#define ARPHRD_HW_EXP1 36
#define ARPHRD_HFI 37
#define ARPHRD_UB 38
#define ARPHRD_HW_EXP2 256
#define ARPHRD_AETHERNET 257
* Virtual ARP types for non ARP hardware used in Linux cooked mode,
* from Linux linux/if_arp.h file.
*
* XXX - note that these values already have eaten into the values
* registered in the IANA documentation. Should there be separate sets
* of values, and separate value_string tables, one solely for ARP
* hardware values, and the other with the Linux values, to use with,
* for example, Linux cooked capture headers? The values 512 and
* above are probably *less* likely to collide.
*/
#define ARPHRD_SLIP6 258
#define ARPHRD_CSLIP6 259
#define ARPHRD_RSRVD 260
#define ARPHRD_ADAPT 264
#define ARPHRD_ROSE 270
#define ARPHRD_X25 271
#define ARPHRD_HWX25 272
#define ARPHRD_CAN 280
#define ARPHRD_PPP 512
#define ARPHRD_CISCO 513
#define ARPHRD_LAPB 516
#define ARPHRD_DDCMP 517
#define ARPHRD_RAWHDLC 518
#define ARPHRD_RAWIP 519
#define ARPHRD_TUNNEL 768
#define ARPHRD_TUNNEL6 769
#define ARPHRD_FRAD 770
#define ARPHRD_SKIP 771
#define ARPHRD_LOOPBACK 772
#define ARPHRD_FDDI 774
#define ARPHRD_BIF 775
#define ARPHRD_SIT 776
#define ARPHRD_IPDDP 777
#define ARPHRD_IPGRE 778
#define ARPHRD_PIMREG 779
#define ARPHRD_HIPPI 780
#define ARPHRD_ASH 781
#define ARPHRD_ECONET 782
#define ARPHRD_IRDA 783
#define ARPHRD_FCPP 784
#define ARPHRD_FCAL 785
#define ARPHRD_FCPL 786
#define ARPHRD_FCFABRIC 787
#define ARPHRD_IEEE802_TR 800
#define ARPHRD_IEEE80211 801
#define ARPHRD_IEEE80211_PRISM 802
#define ARPHRD_IEEE80211_RADIOTAP 803
#define ARPHRD_IEEE802154 804
#define ARPHRD_IEEE802154_MONITOR 805
#define ARPHRD_PHONET 820
#define ARPHRD_PHONET_PIPE 821
#define ARPHRD_CAIF 822
#define ARPHRD_IP6GRE 823
#define ARPHRD_NETLINK 824
#define ARPHRD_6LOWPAN 825
#define ARPHRD_VSOCKMON 826
#define ARPHRD_VOID 0xFFFF
#define ARPHRD_NONE 0xFFFE
#ifdef __cplusplus
}
#endif
#endif