- All Implemented Interfaces:
Serializable
,Comparable<ArpHdr>
,Constable
,IntSupplier
ARP protocol HARDWARE identifiers
- Author:
- Sly Technologies Inc, repos@slytechs.com
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionCOMMENTAPPLEtalk.ARCnet.(Nexus Electronics) Ash.ATM.AX.25 Level 2.AP1000 BIF.Controller Area Network.Chaosnet.Cisco HDLC.CSLIPCSLIP6Digital's DDCMP.Frame Relay DLCI.Acorn Econet.Experimental Ethernet.Ethernet 10/100Mbps.EUI-64.Fibrechanel arbitrated loop.Fibrechanel fabric.Fibrechanel public loop.Point to point fibrechanel.Fiber Distributed Data InterfaceFrame Relay Access Device.High Performance Parallel InterfaceBoards with X.25 in firmware.IEEE 1394 IPv4 - RFC 2734.IEEE 802.2 Ethernet/TR/TB.Magic type ident for TR.IEEE 802.11.IEEE 802.11 + Prism2 header.IEEE 802.11 + radiotap header.IEEE 802.15.4 header.IEEE 802.15.4 PHY header.InfiniBand.IP-in-DDP tunnel.GRE over IP.Linux-IrDA.LAPB.Localtalk device.Loopback device.COMMENTMetricom STRIP (new IANA id).From KA9Q: NET/ROM pseudoZero header lengthPIMSM register interface.COMMENTPROnet token ring.Raw HDLC.Raw IP.COMMENTNotional KISS type.sit0 device - IPv6-in-IPv4.SKIP vif.SLIPSLIP6IPIP tunnel.IPIP6 tunnel.Void type, nothing is knownCCITT X.25.HDLC -
Method Summary
Modifier and TypeMethodDescriptionint
getAsInt()
label()
Human readable label.toEnum
(int id) Converts the supplied id to an ArpHdr enum constant.toLabel
(int id) Searches for a constant matching the supplied id parameter and returns its label.static ArpHdr
Returns the enum constant of this class with the specified name.static ArpHdr[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ARPHDR_NETROM
From KA9Q: NET/ROM pseudo -
ARPHDR_ETHER
Ethernet 10/100Mbps. -
ARPHDR_EETHER
Experimental Ethernet. -
ARPHDR_AX25
AX.25 Level 2. -
ARPHDR_PRONET
PROnet token ring. -
ARPHDR_CHAOS
Chaosnet. -
ARPHDR_IEEE802
IEEE 802.2 Ethernet/TR/TB. -
ARPHDR_ARCNET
ARCnet. -
ARPHDR_APPLETLK
APPLEtalk. -
ARPHDR_DLCI
Frame Relay DLCI. -
ARPHDR_ATM
ATM. -
ARPHDR_METRICOM
Metricom STRIP (new IANA id). -
ARPHDR_IEEE1394
IEEE 1394 IPv4 - RFC 2734. -
ARPHDR_EUI64
EUI-64. -
ARPHDR_INFINIBAND
InfiniBand. -
ARPHDR_SLIP
SLIP -
ARPHDR_CSLIP
CSLIP -
ARPHDR_SLIP6
SLIP6 -
ARPHDR_CSLIP6
CSLIP6 -
ARPHDR_RSRVD
Notional KISS type. -
ARPHDR_ADAPT
COMMENT -
ARPHDR_ROSE
COMMENT -
ARPHDR_X25
CCITT X.25. -
ARPHDR_HWX25
Boards with X.25 in firmware. -
ARPHDR_CAN
Controller Area Network. -
ARPHDR_MCTP
COMMENT -
ARPHDR_PPP
COMMENT -
ARPHDR_CISCO
Cisco HDLC. -
ARPHRD_HDLC
HDLC -
ARPHDR_LAPB
LAPB. -
ARPHDR_DDCMP
Digital's DDCMP. -
ARPHDR_RAWHDLC
Raw HDLC. -
ARPHDR_RAWIP
Raw IP. -
ARPHDR_TUNNEL
IPIP tunnel. -
ARPHDR_TUNNEL6
IPIP6 tunnel. -
ARPHDR_FRAD
Frame Relay Access Device. -
ARPHDR_SKIP
SKIP vif. -
ARPHDR_LOOPBACK
Loopback device. -
ARPHDR_LOCALTLK
Localtalk device. -
ARPHDR_FDDI
Fiber Distributed Data Interface -
ARPHDR_BIF
AP1000 BIF. -
ARPHDR_SIT
sit0 device - IPv6-in-IPv4. -
ARPHDR_IPDDP
IP-in-DDP tunnel. -
ARPHDR_IPGRE
GRE over IP. -
ARPHDR_PIMREG
PIMSM register interface. -
ARPHDR_HIPPI
High Performance Parallel Interface -
ARPHDR_ASH
(Nexus Electronics) Ash. -
ARPHDR_ECONET
Acorn Econet. -
ARPHDR_IRDA
Linux-IrDA. -
ARPHDR_FCPP
Point to point fibrechanel. -
ARPHDR_FCAL
Fibrechanel arbitrated loop. -
ARPHDR_FCPL
Fibrechanel public loop. -
ARPHDR_FCFABRIC
Fibrechanel fabric. -
ARPHDR_IEEE802_TR
Magic type ident for TR. -
ARPHDR_IEEE80211
IEEE 802.11. -
ARPHDR_IEEE80211_PRISM
IEEE 802.11 + Prism2 header. -
ARPHDR_IEEE80211_RADIOTAP
IEEE 802.11 + radiotap header. -
ARPHDR_IEEE802154
IEEE 802.15.4 header. -
ARPHDR_IEEE802154_PHY
IEEE 802.15.4 PHY header. -
ARPHDR_VOID
Void type, nothing is known -
ARPHDR_NONE
Zero header length
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
toEnum
-
toLabel
-
getAsInt
public int getAsInt()- Specified by:
getAsInt
in interfaceIntSupplier
- See Also:
-
label
-