Serialized Form


Package org.dhcp4java

Class org.dhcp4java.DHCPBadPacketException extends java.lang.IllegalArgumentException implements Serializable

serialVersionUID: 1L

Class org.dhcp4java.DHCPOption extends java.lang.Object implements Serializable

serialVersionUID: 2L

Serialized Fields

code

byte code
The code of the option. 0 is reserved for padding, -1 for end of options.


value

byte[] value
Raw bytes value of the option. Some methods are provided for higher level of data structures, depending on the code.


mirror

boolean mirror
Used to mark an option as having a mirroring behaviour. This means that this option if used by a server will first mirror the option the client sent then provide a default value if this option was not present in the request.

This is only meant to be used by servers through the getMirrorValue method.

Class org.dhcp4java.DHCPPacket extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

comment

java.lang.String comment

op

byte op

htype

byte htype

hlen

byte hlen

hops

byte hops

xid

int xid

secs

short secs

flags

short flags

ciaddr

byte[] ciaddr

yiaddr

byte[] yiaddr

siaddr

byte[] siaddr

giaddr

byte[] giaddr

chaddr

byte[] chaddr

sname

byte[] sname

file

byte[] file

options

java.util.Map<K,V> options

isDhcp

boolean isDhcp

truncated

boolean truncated

padding

byte[] padding

address

java.net.InetAddress address

port

int port

Class org.dhcp4java.DHCPServerInitException extends java.lang.Exception implements Serializable

serialVersionUID: 1L

Class org.dhcp4java.HardwareAddress extends java.lang.Object implements Serializable

serialVersionUID: 2L

Serialized Fields

hardwareType

byte hardwareType

hardwareAddress

byte[] hardwareAddress

Class org.dhcp4java.InetCidr extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

addr

int addr

mask

int mask