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

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

public class AllSubnetsAreLocal
extends DhcpOption

This option specifies whether or not the client may assume that all subnets of the IP network to which the client is connected use the same MTU as the subnet of that network to which the client is directly connected. A value of 1 indicates that all subnets share the same MTU. A value of 0 means that the client should assume that some subnets of the directly connected network may have smaller MTUs. The code for this option is 27, and its length is 1.


Constructor Summary
AllSubnetsAreLocal(byte[] allSubnetsAreLocal)
           
 
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

AllSubnetsAreLocal

public AllSubnetsAreLocal(byte[] allSubnetsAreLocal)
Method Detail

valueToByteBuffer

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


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