package mirage-protocols

  1. Overview
  2. Docs

IP errors and protocols.

type error = [
  1. | `No_route of string
    (*

    can't send a message to that destination

    *)
  2. | `Would_fragment
    (*

    would need to fragment, but fragmentation is disabled

    *)
]
val pp_error : error Fmt.t
type proto = [
  1. | `TCP
  2. | `UDP
  3. | `ICMP
]
val pp_proto : proto Fmt.t
OCaml

Innovation. Community. Security.