|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.dhcp.options.DhcpOption
org.apache.directory.server.dhcp.options.linklayer.EthernetEncapsulation
public class EthernetEncapsulation
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.
Constructor Summary | |
---|---|
EthernetEncapsulation(byte[] ethernetEncapsulation)
|
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 |
---|
public EthernetEncapsulation(byte[] ethernetEncapsulation)
Method Detail |
---|
protected void valueToByteBuffer(java.nio.ByteBuffer out)
valueToByteBuffer
in class DhcpOption
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |