org.jnetpcap.protocol.network
Enum Arp.HardwareType

java.lang.Object
  extended by java.lang.Enum<Arp.HardwareType>
      extended by org.jnetpcap.protocol.network.Arp.HardwareType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Arp.HardwareType>
Enclosing class:
Arp

public static enum Arp.HardwareType
extends java.lang.Enum<Arp.HardwareType>

Definitions for ARP supported hardware types.

Author:
Mark Bednarczyk, Sly Technologies, Inc.

Enum Constant Summary
AMATEUR_RADIO_AX_25
          The AMATEU r_ radi o_ a x_25.
ARCNET
          The ARCNET.
ARPSEC
          The ARPSEC.
ATM1
          The AT m1.
ATM2
          The AT m2.
AUTONET_SHORT_ADDRESS
          The AUTONE t_ shor t_ address.
CAI
          The CAI.
CHAOS
          The CHAOS.
ETHERNET
          The ETHERNET.
EUI64
          The EU i64.
EXSPERIMENTAL_ETHERNET
          The EXSPERIMENTA l_ ethernet.
FRAME_RELAY
          The FRAM e_ relay.
HIPARP
          The HIPARP.
HW_EXP1
          The H w_ ex p1.
HYPERCHANNEL
          The HYPERCHANNEL.
IEEE1395
          The IEE e1395.
IEEE802
          The IEE e802.
INFINIBAND
          The INFINIBAND.
IPSEC_TUNNEL
          The IPSE c_ tunnel.
ISO7816_3
          The IS o7816_3.
LANSTAR
          The LANSTAR.
LOCAL_NET
          The LOCA l_ net.
LOCAL_TALK
          The LOCA l_ talk.
MAPOS
          The MAPOS.
METRICOM
          The METRICOM.
MIL_STD_188_220
          The MI l_ st d_188_220.
PROTEON_PRO_NET_TOKEN_RING
          The PROTEO n_ pr o_ ne t_ toke n_ ring.
PURE_ID
          The PUR e_ id.
RESERVED1
          The RESERVE d1.
SERIAL_LINE
          The SERIA l_ line.
SMDS
          The SMDS.
TWINAXIAL
          The TWINAXIAL.
ULTRA_LINK
          The ULTR a_ link.
WIEGAND_INTERFACE
          The WIEGAN d_ interface.
 
Method Summary
static Arp.HardwareType valueOf(int value)
          Convert a numerical protocol type number to constant.
static Arp.HardwareType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Arp.HardwareType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

RESERVED1

public static final Arp.HardwareType RESERVED1
The RESERVE d1.


ETHERNET

public static final Arp.HardwareType ETHERNET
The ETHERNET.


EXSPERIMENTAL_ETHERNET

public static final Arp.HardwareType EXSPERIMENTAL_ETHERNET
The EXSPERIMENTA l_ ethernet.


AMATEUR_RADIO_AX_25

public static final Arp.HardwareType AMATEUR_RADIO_AX_25
The AMATEU r_ radi o_ a x_25.


PROTEON_PRO_NET_TOKEN_RING

public static final Arp.HardwareType PROTEON_PRO_NET_TOKEN_RING
The PROTEO n_ pr o_ ne t_ toke n_ ring.


CHAOS

public static final Arp.HardwareType CHAOS
The CHAOS.


IEEE802

public static final Arp.HardwareType IEEE802
The IEE e802.


ARCNET

public static final Arp.HardwareType ARCNET
The ARCNET.


HYPERCHANNEL

public static final Arp.HardwareType HYPERCHANNEL
The HYPERCHANNEL.


LANSTAR

public static final Arp.HardwareType LANSTAR
The LANSTAR.


AUTONET_SHORT_ADDRESS

public static final Arp.HardwareType AUTONET_SHORT_ADDRESS
The AUTONE t_ shor t_ address.


LOCAL_TALK

public static final Arp.HardwareType LOCAL_TALK
The LOCA l_ talk.


LOCAL_NET

public static final Arp.HardwareType LOCAL_NET
The LOCA l_ net.


ULTRA_LINK

public static final Arp.HardwareType ULTRA_LINK
The ULTR a_ link.


SMDS

public static final Arp.HardwareType SMDS
The SMDS.


FRAME_RELAY

public static final Arp.HardwareType FRAME_RELAY
The FRAM e_ relay.


ATM1

public static final Arp.HardwareType ATM1
The AT m1.


SERIAL_LINE

public static final Arp.HardwareType SERIAL_LINE
The SERIA l_ line.


ATM2

public static final Arp.HardwareType ATM2
The AT m2.


MIL_STD_188_220

public static final Arp.HardwareType MIL_STD_188_220
The MI l_ st d_188_220.


METRICOM

public static final Arp.HardwareType METRICOM
The METRICOM.


IEEE1395

public static final Arp.HardwareType IEEE1395
The IEE e1395.


MAPOS

public static final Arp.HardwareType MAPOS
The MAPOS.


TWINAXIAL

public static final Arp.HardwareType TWINAXIAL
The TWINAXIAL.


EUI64

public static final Arp.HardwareType EUI64
The EU i64.


HIPARP

public static final Arp.HardwareType HIPARP
The HIPARP.


ISO7816_3

public static final Arp.HardwareType ISO7816_3
The IS o7816_3.


ARPSEC

public static final Arp.HardwareType ARPSEC
The ARPSEC.


IPSEC_TUNNEL

public static final Arp.HardwareType IPSEC_TUNNEL
The IPSE c_ tunnel.


INFINIBAND

public static final Arp.HardwareType INFINIBAND
The INFINIBAND.


CAI

public static final Arp.HardwareType CAI
The CAI.


WIEGAND_INTERFACE

public static final Arp.HardwareType WIEGAND_INTERFACE
The WIEGAN d_ interface.


PURE_ID

public static final Arp.HardwareType PURE_ID
The PUR e_ id.


HW_EXP1

public static final Arp.HardwareType HW_EXP1
The H w_ ex p1.

Method Detail

values

public static Arp.HardwareType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Arp.HardwareType c : Arp.HardwareType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Arp.HardwareType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

valueOf

public static Arp.HardwareType valueOf(int value)
Convert a numerical protocol type number to constant.

Parameters:
value - value of the protocol type field
Returns:
corresponding constant or null if none matched