package charrua-client
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
DHCP client implementation
Install
dune-project
Dependency
Authors
Maintainers
Sources
charrua-3.2.0.tbz
sha256=4a250716f81ff724c2461ed2baa341f088cd706ab2bb6097348379433069e2cb
sha512=392bbf6620e1a62e333c7b44b5df31740185db05874eab7edffaaa0e4adb63960ef26e0073298784d63ad5f105fe3d9cced035a10a8a605c8fbede5604c5f65e
doc/charrua-client.mirage/Dhcp_ipv4/Make/index.html
Module Dhcp_ipv4.MakeSource
Make(N)(E)(A) instantiates a device that exposes a Mirage_net.S interface as well as a Tcpip.Ip.S interface with ipv4. On connection it either requests a DHCP lease or sets up a static IPv4 address. The exposed Mirage_net.S interface is N but with incoming dhcp messages filtered out. It is expected that E and A are instantiated with N.
See the module's connect value for more details.
Parameters
module Network : Mirage_net.Smodule Ethernet : Ethernet.SSignature
Source
val connect :
?no_init:bool ->
?cidr:Ipaddr.V4.Prefix.t ->
?gateway:Ipaddr.V4.t ->
?options:Dhcp_wire.dhcp_option list ->
?requests:Dhcp_wire.option_code list ->
Network.t ->
Ethernet.t ->
Arp.t ->
t Lwt.tConnect to an ipv4 device using information from a DHCP lease. If cidr is provided, no DHCP requests will be done, but instead a static IPv4 (Tcpip.Ip.S) stack will be used. If no_init is provided and true, nothing will be initialized (for dual IPv4 and IPv6 stack where only the IPv6 part should be used).
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page