Dhcp_ipv4.Make
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 ->
E.t ->
Arp.t ->
t Lwt.t
Connect 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).