summaryrefslogtreecommitdiffhomepage
path: root/iana/hwtypes.go
blob: 7467a78bdc1e0bda8c5ce4cd3c27b8ed2b672d10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
package iana

type HwTypeType uint8

const (
	_ HwTypeType = iota // skip 0
	HwTypeEthernet
	HwTypeExperimentalEthernet
	HwTypeAmateurRadioAX25
	HwTypeProteonTokenRing
	HwTypeChaos
	HwTypeIEEE802
	HwTypeARCNET
	HwTypeHyperchannel
	HwTypeLanstar
	HwTypeAutonet
	HwTypeLocalTalk
	HwTypeLocalNet
	HwTypeUltraLink
	HwTypeSMDS
	HwTypeFrameRelay
	HwTypeATM
	HwTypeHDLC
	HwTypeFibreChannel
	HwTypeATM2
	HwTypeSerialLine
	HwTypeATM3
	HwTypeMILSTD188220
	HwTypeMetricom
	HwTypeIEEE1394
	HwTypeMAPOS
	HwTypeTwinaxial
	HwTypeEUI64
	HwTypeHIPARP
	HwTypeISO7816
	HwTypeARPSec
	HwTypeIPsec
	HwTypeInfiniband
	HwTypeCAI
	HwTypeWiegandInterface
	HwTypePureIP
)

var HwTypeToString = map[HwTypeType]string{
	HwTypeEthernet:             "Ethernet",
	HwTypeExperimentalEthernet: "Experimental Ethernet",
	HwTypeAmateurRadioAX25:     "Amateur Radio AX.25",
	HwTypeProteonTokenRing:     "Proteon ProNET Token Ring",
	HwTypeChaos:                "Chaos",
	HwTypeIEEE802:              "IEEE 802",
	HwTypeARCNET:               "ARCNET",
	HwTypeHyperchannel:         "Hyperchannel",
	HwTypeLanstar:              "Lanstar",
	HwTypeAutonet:              "Autonet Short Address",
	HwTypeLocalTalk:            "LocalTalk",
	HwTypeLocalNet:             "LocalNet",
	HwTypeUltraLink:            "Ultra link",
	HwTypeSMDS:                 "SMDS",
	HwTypeFrameRelay:           "Frame Relay",
	HwTypeATM:                  "ATM",
	HwTypeHDLC:                 "HDLC",
	HwTypeFibreChannel:         "Fibre Channel",
	HwTypeATM2:                 "ATM 2",
	HwTypeSerialLine:           "Serial Line",
	HwTypeATM3:                 "ATM 3",
	HwTypeMILSTD188220:         "MIL-STD-188-220",
	HwTypeMetricom:             "Metricom",
	HwTypeIEEE1394:             "IEEE 1394.1995",
	HwTypeMAPOS:                "MAPOS",
	HwTypeTwinaxial:            "Twinaxial",
	HwTypeEUI64:                "EUI-64",
	HwTypeHIPARP:               "HIPARP",
	HwTypeISO7816:              "IP and ARP over ISO 7816-3",
	HwTypeARPSec:               "ARPSec",
	HwTypeIPsec:                "IPsec tunnel",
	HwTypeInfiniband:           "Infiniband",
	HwTypeCAI:                  "CAI, TIA-102 Project 125 Common Air Interface",
	HwTypeWiegandInterface:     "Wiegand Interface",
	HwTypePureIP:               "Pure IP",
}