package mirage

  1. Overview
  2. Docs

Ipv4 keys.

val network : ?group:string -> (Ipaddr.V4.Prefix.t * Ipaddr.V4.t) -> (Ipaddr.V4.Prefix.t * Ipaddr.V4.t) key

A network defined by an address and netmask.

val gateway : ?group:string -> Ipaddr.V4.t option -> Ipaddr.V4.t option key

A default gateway option.

val socket : ?group:string -> Ipaddr.V4.t option -> Ipaddr.V4.t option key

An IPv4 address bound by a socket. Will be none if no address is provided.

val ips : ?group:string -> Ipaddr.V4.t list -> Ipaddr.V4.t list key

A list of IPv4 addresses bound by a socket.