Struct dhcp4r::server::Server [] [src]

pub struct Server { /* fields omitted */ }

This is a convenience module that simplifies the writing of a DHCP server service.

Methods

impl Server
[src]

Constructs and sends a reply packet back to the client. additional_options should not include DHCP_MESSAGE_TYPE nor SERVER_IDENTIFIER as these are added automatically.

Checks the packet see if it was intended for this DHCP server (as opposed to some other also on the network).

Encodes and sends a DHCP packet back to the client.