public class Dhcp6Duid extends BasePacket
Modifier and Type | Class and Description |
---|---|
static class |
Dhcp6Duid.DuidType |
parent, payload
Constructor and Description |
---|
Dhcp6Duid() |
Modifier and Type | Method and Description |
---|---|
static Deserializer<Dhcp6Duid> |
deserializer() |
int |
getDuidTime() |
Dhcp6Duid.DuidType |
getDuidType() |
int |
getEnterpriseNumber() |
short |
getHardwareType() |
byte[] |
getIdentifier() |
byte[] |
getLinkLayerAddress() |
byte[] |
serialize()
Sets all payloads parent packet if applicable, then serializes this
packet and all payloads.
|
void |
setDuidTime(int duidTime) |
void |
setDuidType(Dhcp6Duid.DuidType duidType) |
void |
setEnterpriseNumber(int enterpriseNumber) |
void |
setHardwareType(short hardwareType) |
void |
setIdentifier(byte[] identifier) |
void |
setLinkLayerAddress(byte[] linkLayerAddress) |
java.lang.String |
toString() |
clone, equals, getParent, getPayload, hashCode, resetChecksum, setParent, setPayload
public Dhcp6Duid.DuidType getDuidType()
public void setDuidType(Dhcp6Duid.DuidType duidType)
public short getHardwareType()
public void setHardwareType(short hardwareType)
public int getDuidTime()
public void setDuidTime(int duidTime)
public byte[] getLinkLayerAddress()
public void setLinkLayerAddress(byte[] linkLayerAddress)
public int getEnterpriseNumber()
public void setEnterpriseNumber(int enterpriseNumber)
public byte[] getIdentifier()
public void setIdentifier(byte[] identifier)
public byte[] serialize()
IPacket
public static Deserializer<Dhcp6Duid> deserializer()
public java.lang.String toString()
toString
in class java.lang.Object