org.apache.directory.server.dhcp.options.linklayer
Class EthernetEncapsulation

java.lang.Object
  extended by org.apache.directory.server.dhcp.options.DhcpOption
      extended by org.apache.directory.server.dhcp.options.ByteOption
          extended by org.apache.directory.server.dhcp.options.linklayer.EthernetEncapsulation

public class EthernetEncapsulation
extends ByteOption

This option specifies whether or not the client should use Ethernet Version 2 (RFC 894) or IEEE 802.3 (RFC 1042) encapsulation if the interface is an Ethernet. A value of 0 indicates that the client should use RFC 894 encapsulation. A value of 1 means that the client should use RFC 1042 encapsulation. The code for this option is 36, and its length is 1.

Version:
$Rev: 638228 $, $Date: 2008-03-18 07:12:41 +0100 (Tue, 18 Mar 2008) $
Author:
Apache Directory Project

Constructor Summary
EthernetEncapsulation()
           
 
Method Summary
 byte getTag()
          Get the option's code tag.
 
Methods inherited from class org.apache.directory.server.dhcp.options.ByteOption
getByteValue, getData, setData, setShortValue
 
Methods inherited from class org.apache.directory.server.dhcp.options.DhcpOption
getClassByTag, getTagByClass, writeTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EthernetEncapsulation

public EthernetEncapsulation()
Method Detail

getTag

public byte getTag()
Description copied from class: DhcpOption
Get the option's code tag.

Specified by:
getTag in class DhcpOption
Returns:
byte


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.