Function dhcpv4::server::build_offer

source ·
pub fn build_offer(
    disc: Message,
    offer_options: OfferOptions,
    options_repo: &HashMap<OptionCode, DhcpOption>
) -> Result<Message, ServerError>
Expand description

Builds a DHCPOFFER in response to the given DHCPDISCOVER using the provided offer_options and options_repo.