| Package | Description |
|---|---|
| org.apache.directory.server.dhcp.io |
Provides the encoders and decoders for DHCP message
and option conversions.
|
| org.apache.directory.server.dhcp.messages |
Provides message objects for DHCP messages.
|
| org.apache.directory.server.dhcp.options |
Provides base message objects for DHCP options.
|
| org.apache.directory.server.dhcp.service |
Provides the implementation of the
DhcpService. |
| org.apache.directory.server.dhcp.store |
| Modifier and Type | Method and Description |
|---|---|
OptionsField |
DhcpMessageDecoder.decodeOptions(java.nio.ByteBuffer message) |
| Modifier and Type | Method and Description |
|---|---|
void |
DhcpMessageEncoder.encodeOptions(OptionsField options,
java.nio.ByteBuffer message) |
| Modifier and Type | Field and Description |
|---|---|
private OptionsField |
DhcpMessage.options
[options] Optional parameters field.
|
| Modifier and Type | Method and Description |
|---|---|
OptionsField |
DhcpMessage.getOptions() |
| Modifier and Type | Method and Description |
|---|---|
void |
DhcpMessage.setOptions(OptionsField options) |
| Constructor and Description |
|---|
DhcpMessage(MessageType messageType,
byte op,
HardwareAddress hardwareAddress,
short hops,
int transactionId,
int seconds,
short flags,
java.net.InetAddress currentClientAddress,
java.net.InetAddress assignedClientAddress,
java.net.InetAddress nextServerAddress,
java.net.InetAddress relayAgentAddress,
java.lang.String serverHostname,
java.lang.String bootFileName,
OptionsField options)
Create a DHCP message based on the supplied values.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OptionsField.merge(OptionsField options)
Merge the options from the given options field into my options.
|
| Modifier and Type | Field and Description |
|---|---|
private OptionsField |
Lease.options
The DhcpOptions to provide to the client along with the lease.
|
| Modifier and Type | Method and Description |
|---|---|
OptionsField |
Lease.getOptions() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractDhcpService.stripUnwantedOptions(DhcpMessage request,
OptionsField options)
Strip options that the client doesn't want, if the ParameterRequestList
option is present.
|
| Modifier and Type | Field and Description |
|---|---|
private OptionsField |
DhcpConfigElement.options
List of DhcpOptions for ths subnet
|
| Modifier and Type | Method and Description |
|---|---|
OptionsField |
DhcpConfigElement.getOptions() |
protected OptionsField |
SimpleDhcpStore.getOptions(DhcpConfigElement element) |
protected abstract OptionsField |
AbstractDhcpStore.getOptions(DhcpConfigElement element)
Return a list of all options applicable to the given config element.
|
| Modifier and Type | Method and Description |
|---|---|
Lease |
DhcpStore.getExistingLease(HardwareAddress hardwareAddress,
java.net.InetAddress requestedAddress,
java.net.InetAddress selectionBase,
long requestedLeaseTime,
OptionsField options)
Retrieve an existing lease from the dhcp store.
|
Lease |
AbstractDhcpStore.getExistingLease(HardwareAddress hardwareAddress,
java.net.InetAddress requestedAddress,
java.net.InetAddress selectionBase,
long requestedLeaseTime,
OptionsField options) |
Lease |
DhcpStore.getLeaseOffer(HardwareAddress hardwareAddress,
java.net.InetAddress requestedAddress,
java.net.InetAddress selectionBase,
long requestedLeaseTime,
OptionsField options)
Find a lease to offer in response to a DHCPDISCOVER request.
|
Lease |
AbstractDhcpStore.getLeaseOffer(HardwareAddress hardwareAddress,
java.net.InetAddress requestedAddress,
java.net.InetAddress selectionBase,
long requestedLeaseTime,
OptionsField options) |