package mirage

  1. Overview
  2. Docs
type v4
type v6
type v4v6
type 'a ip
type ipv4 = v4 ip
type ipv6 = v6 ip
type ipv4v6 = v4v6 ip
val ip : 'a ip Functoria.typ
val ipv4 : ipv4 Functoria.typ
val ipv6 : ipv6 Functoria.typ
val ipv4v6 : ipv4v6 Functoria.typ
type ipv4_config = {
  1. network : Ipaddr.V4.Prefix.t;
  2. gateway : Ipaddr.V4.t option;
}
type ipv6_config = {
  1. network : Ipaddr.V6.Prefix.t;
  2. gateway : Ipaddr.V6.t option;
}
val create_ipv4 : ?group:string -> ?config:ipv4_config -> ?no_init:bool Mirage_key.key -> ?random:Mirage_impl_random.random Functoria.impl -> ?clock:Mirage_impl_mclock.mclock Functoria.impl -> Mirage_impl_ethernet.ethernet Functoria.impl -> Mirage_impl_arpv4.arpv4 Functoria.impl -> ipv4 Functoria.impl
val create_ipv6 : ?random:Mirage_impl_random.random Functoria.impl -> ?time:Mirage_impl_time.time Functoria.impl -> ?clock:Mirage_impl_mclock.mclock Functoria.impl -> ?group:string -> ?config:ipv6_config -> ?no_init:bool Mirage_key.key -> Mirage_impl_network.network Functoria.impl -> Mirage_impl_ethernet.ethernet Functoria.impl -> ipv6 Functoria.impl
val ipv4_of_dhcp : ?random:Mirage_impl_random.random Functoria.impl -> ?clock:Mirage_impl_mclock.mclock Functoria.impl -> ?time:Mirage_impl_time.time Functoria.impl -> Mirage_impl_network.network Functoria.impl -> Mirage_impl_ethernet.ethernet Functoria.impl -> Mirage_impl_arpv4.arpv4 Functoria.impl -> ipv4 Functoria.impl
val ipv4_qubes : ?random:Mirage_impl_random.random Functoria.impl -> ?clock:Mirage_impl_mclock.mclock Functoria.impl -> Mirage_impl_qubesdb.qubesdb Functoria.impl -> Mirage_impl_ethernet.ethernet Functoria.impl -> Mirage_impl_arpv4.arpv4 Functoria.impl -> ipv4 Functoria.impl
val create_ipv4v6 : ?group:string -> ipv4 Functoria.impl -> ipv6 Functoria.impl -> ipv4v6 Functoria.impl
val keyed_ipv4v6 : ipv4_only:bool Mirage_key.key -> ipv6_only:bool Mirage_key.key -> ipv4 Functoria.impl -> ipv6 Functoria.impl -> ipv4v6 Functoria.impl
val right_tcpip_library : ?libs:string list -> sublibs:string list -> string -> Functoria.package list Functoria.value
OCaml

Innovation. Community. Security.