package mirage-runtime

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Command-line arguments for network devices

This module is the runtime counter-part of the network command-line arguments defined in Mirage_runtime_arg. Both modules should be kept in sync.

In all the function in this module, docs is "UNIKERNEL PARAMETERS" if not set.

val interface : ?group:string -> ?docs:string -> string -> string Cmdliner.Term.t

A network interface.

module Arg : sig ... end

Cmdliner.Arg converters for Ipadrr types.

module V4 : sig ... end

Ipv4 Terms

module V6 : sig ... end

Ipv6 Term.ts.

val ipv4_only : ?group:string -> ?docs:string -> unit -> bool Cmdliner.Term.t

An option for dual stack to only use IPv4.

val ipv6_only : ?group:string -> ?docs:string -> unit -> bool Cmdliner.Term.t

An option for dual stack to only use IPv6.

val resolver : ?group:string -> ?docs:string -> ?default:string list -> unit -> string list option Cmdliner.Term.t

The address of the DNS resolver to use. See $REFERENCE for format.

val syslog : ?group:string -> ?docs:string -> Ipaddr.t option -> Ipaddr.t option Cmdliner.Term.t

The address to send syslog frames to.

val monitor : ?group:string -> ?docs:string -> Ipaddr.t option -> Ipaddr.t option Cmdliner.Term.t

The address to send monitor statistics to.

val syslog_port : ?group:string -> ?docs:string -> int option -> int option Cmdliner.Term.t

The port to send syslog frames to.

val syslog_hostname : ?group:string -> ?docs:string -> string -> string Cmdliner.Term.t

The hostname to use in syslog frames.

OCaml

Innovation. Community. Security.