package charrua-client
DHCP client implementation
Install
Dune Dependency
Authors
Maintainers
Sources
charrua-2.0.0.tbz
sha256=ecacfd0f17bdf2ba261049d2b3cc03aa473eec4a9d77b0a83c0ce2c402c512bb
sha512=9f24a36f934824581d5af9886bdd22e82a1ba0ce174d752d43de9b527392140c19b65a93b18b3ca07c441f84315fefff7002a71eebf573ce1b747e74de861a9d
doc/src/charrua-client.mirage/dhcp_ipv4.ml.html
Source file dhcp_ipv4.ml
1 2 3 4 5 6 7 8 9 10 11
open Lwt.Infix module Make (Network : Mirage_net.S) (E : Ethernet.S) (Arp : Arp.S) = struct (* for now, just wrap a static ipv4 *) module DHCP = Dhcp_client_mirage.Make(Network) include Static_ipv4.Make(E)(Arp) let connect net ethernet arp = DHCP.connect net >>= fun dhcp -> Lwt_stream.last_new dhcp >>= fun (cidr, gateway) -> connect ~cidr ?gateway ethernet arp end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>