org.apache.directory.server.dhcp.options.perinterface
Class InterfaceMtu

java.lang.Object
  extended by org.apache.directory.server.dhcp.options.DhcpOption
      extended by org.apache.directory.server.dhcp.options.perinterface.InterfaceMtu

public class InterfaceMtu
extends DhcpOption

This option specifies the MTU to use on this interface. The MTU is specified as a 16-bit unsigned integer. The minimum legal value for the MTU is 68. The code for this option is 26, and its length is 2.


Constructor Summary
InterfaceMtu(byte[] interfaceMtu)
           
 
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

InterfaceMtu

public InterfaceMtu(byte[] interfaceMtu)
Method Detail

valueToByteBuffer

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