package charrua-client
DHCP client implementation
Install
dune-project
Dependency
Authors
Maintainers
Sources
charrua-2.1.0.tbz
sha256=53a6be65499aa901b5db6a3c0494c21b5bc3fe2098c6e56826d3b55c49ed2b99
sha512=37d171014c755f7fc2465fd0124f5a80cb377c3a493883a38afdd2e583bf2022bec410842e5c7425b7945c3be408a55e9153a498c0f5f211dd1baa2c44fd5d6f
doc/charrua-client.lwt/Dhcp_client_lwt/Make/index.html
Module Dhcp_client_lwt.Make
Source
Parameters
module Net : Mirage_net.S
Signature
Source
val connect :
?renew:bool ->
?xid:Cstruct.uint32 ->
?options:Dhcp_wire.dhcp_option list ->
?requests:Dhcp_wire.option_code list ->
Net.t ->
t Lwt.t
connect ~renew ~xid ~options ~requests net
starts a DHCP client communicating over the network interface net
. The client will attempt to get a DHCP lease at least once, and will return any leases obtained in the stream returned by connect
. If renew
is true, which it is by default, the client will attempt to renew the lease according to the logic in RFC2131. If renew
is false, the client will cancel its listener and end the stream once the first lease has been obtained. The options
are the DHCP options sent by the client in the DHCP DISCOVER and DHCP REQUEST. The requests
will be transmitted as DHCP parameter request also in the DHCP DISCOVER and DHCP REQUEST.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page