org.jnetpcap.protocol.lan
Enum SLL.HardwareAddressType

java.lang.Object
  extended by java.lang.Enum<SLL.HardwareAddressType>
      extended by org.jnetpcap.protocol.lan.SLL.HardwareAddressType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SLL.HardwareAddressType>
Enclosing class:
SLL

public static enum SLL.HardwareAddressType
extends java.lang.Enum<SLL.HardwareAddressType>

The Enum HardwareAddressType.


Enum Constant Summary
LINUX_SLL_BROADCAST
          The LINU x_ sl l_ broadcast.
LINUX_SLL_HOST
          The LINU x_ sl l_ host.
LINUX_SLL_MULTICAST
          The LINU x_ sl l_ multicast.
LINUX_SLL_OTHERHOST
          The LINU x_ sl l_ otherhost.
LINUX_SLL_OUTGOING
          The LINU x_ sl l_ outgoing.
 
Method Summary
static SLL.HardwareAddressType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SLL.HardwareAddressType[] 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

LINUX_SLL_HOST

public static final SLL.HardwareAddressType LINUX_SLL_HOST
The LINU x_ sl l_ host.


LINUX_SLL_BROADCAST

public static final SLL.HardwareAddressType LINUX_SLL_BROADCAST
The LINU x_ sl l_ broadcast.


LINUX_SLL_MULTICAST

public static final SLL.HardwareAddressType LINUX_SLL_MULTICAST
The LINU x_ sl l_ multicast.


LINUX_SLL_OTHERHOST

public static final SLL.HardwareAddressType LINUX_SLL_OTHERHOST
The LINU x_ sl l_ otherhost.


LINUX_SLL_OUTGOING

public static final SLL.HardwareAddressType LINUX_SLL_OUTGOING
The LINU x_ sl l_ outgoing.

Method Detail

values

public static SLL.HardwareAddressType[] 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 (SLL.HardwareAddressType c : SLL.HardwareAddressType.values())
    System.out.println(c);

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

valueOf

public static SLL.HardwareAddressType 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