package charrua-client

  1. Overview
  2. Docs
DHCP client implementation

Install

Dune Dependency

Authors

Maintainers

Sources

charrua-v1.5.0.tbz
sha256=4ce74a5e78402f3d645ddcb344aaa1348349a8d5a35b8b55112aff0cb84db8e1
sha512=ac6960de516642793b928224c95da997042d2907829496843481894b38804e3b465b5f9703bd8c02e5202059847ee5c16db6975c630b462448db511b39f34f87

doc/charrua-client.mirage/Dhcp_client_mirage/Make/index.html

Module Dhcp_client_mirage.MakeSource

Parameters

Signature

Sourcetype t = (Ipaddr.V4.Prefix.t * Ipaddr.V4.t option) Lwt_stream.t
Sourceval connect : ?requests:Dhcp_wire.option_code list -> Network.t -> t Lwt.t

connect ?requests net attempts to use net to obtain a valid DHCP lease containing the DHCP option codes listed in request. If request is not specified, connect uses the default values provided by the upstream Dhcp_client implementation, which are a small set useful in establishing ipv4 connectivity. connect does not time out; it will terminate on send/receive errors or when a lease is obtained.

OCaml

Innovation. Community. Security.