package charrua-client-mirage

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

module Random : Mirage_random.S
module Time : Mirage_time.S
module Network : Mirage_net.S

Signature

type t = Mirage_protocols.ipv4_config Lwt_stream.t
val 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.