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

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

public class TrailerEncapsulation
extends DhcpOption

This option specifies whether or not the client should negotiate the use of trailers (RFC 893) when using the ARP protocol. A value of 0 indicates that the client should not attempt to use trailers. A value of 1 means that the client should attempt to use trailers. The code for this option is 34, and its length is 1.


Constructor Summary
TrailerEncapsulation(byte[] trailerEncapsulation)
           
 
Method Summary
protected  void valueToByteBuffer(java.nio.ByteBuffer out)
           
 
Methods inherited from class org.apache.directory.server.dhcp.options.DhcpOption
writeTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrailerEncapsulation

public TrailerEncapsulation(byte[] trailerEncapsulation)
Method Detail

valueToByteBuffer

protected void valueToByteBuffer(java.nio.ByteBuffer out)
Specified by:
valueToByteBuffer in class DhcpOption