Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Mnet_dhcp.Or_staticSourcetype _ kind = | Dhcp : {timeout : int option;config : config;} -> (t * Mnet.TCP.state * Mnet.UDP.state * lease) kind| Static : {ipv4addr : Ipaddr.V4.Prefix.t;gateway : Ipaddr.V4.t option;} -> (Mnet.stack * Mnet.TCP.state * Mnet.UDP.state) kind'dhcp_or_static w is a type witness for either a static Mnet.stack or a DHCP stack.
val static :
?gateway:Ipaddr.V4.t ->
Ipaddr.V4.Prefix.t ->
(Mnet.stack * Mnet.TCP.state * Mnet.UDP.state) kindval stack :
?ipv6:IPv6.mode ->
?max:int option ->
name:string ->
'dyn kind ->
'dyn Mkernel.argstack ?ipv6 ?max ~name witness is either a static Mnet.stack or a DHCP stack.