Package org.onlab.packet.dhcp
Class Dhcp6Duid
- java.lang.Object
 - 
- org.onlab.packet.BasePacket
 - 
- org.onlab.packet.dhcp.Dhcp6Duid
 
 
 
- 
- All Implemented Interfaces:
 IPacket
public class Dhcp6Duid extends BasePacket
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDhcp6Duid.DuidType 
- 
Field Summary
- 
Fields inherited from class org.onlab.packet.BasePacket
parent, payload 
 - 
 
- 
Constructor Summary
Constructors Constructor Description Dhcp6Duid() 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Deserializer<Dhcp6Duid>deserializer()intgetDuidTime()Dhcp6Duid.DuidTypegetDuidType()intgetEnterpriseNumber()shortgetHardwareType()byte[]getIdentifier()byte[]getLinkLayerAddress()byte[]getUuid()byte[]serialize()Sets all payloads parent packet if applicable, then serializes this packet and all payloads.voidsetDuidTime(int duidTime)voidsetDuidType(Dhcp6Duid.DuidType duidType)voidsetEnterpriseNumber(int enterpriseNumber)voidsetHardwareType(short hardwareType)voidsetIdentifier(byte[] identifier)voidsetLinkLayerAddress(byte[] linkLayerAddress)voidsetUuid(byte[] uuid)StringtoString()- 
Methods inherited from class org.onlab.packet.BasePacket
clone, equals, getParent, getPayload, hashCode, resetChecksum, setParent, setPayload 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getDuidType
public Dhcp6Duid.DuidType getDuidType()
 
- 
setDuidType
public void setDuidType(Dhcp6Duid.DuidType duidType)
 
- 
getHardwareType
public short getHardwareType()
 
- 
setHardwareType
public void setHardwareType(short hardwareType)
 
- 
getDuidTime
public int getDuidTime()
 
- 
setDuidTime
public void setDuidTime(int duidTime)
 
- 
getLinkLayerAddress
public byte[] getLinkLayerAddress()
 
- 
setLinkLayerAddress
public void setLinkLayerAddress(byte[] linkLayerAddress)
 
- 
getEnterpriseNumber
public int getEnterpriseNumber()
 
- 
setEnterpriseNumber
public void setEnterpriseNumber(int enterpriseNumber)
 
- 
getIdentifier
public byte[] getIdentifier()
 
- 
setIdentifier
public void setIdentifier(byte[] identifier)
 
- 
getUuid
public byte[] getUuid()
 
- 
setUuid
public void setUuid(byte[] uuid)
 
- 
serialize
public byte[] serialize()
Description copied from interface:IPacketSets all payloads parent packet if applicable, then serializes this packet and all payloads.- Returns:
 - a byte[] containing this packet and payloads
 
 
- 
deserializer
public static Deserializer<Dhcp6Duid> deserializer()
 
 - 
 
 -