package mirage-nat

  1. Overview
  2. Docs
type t

A TCP channel is identified by the source and destination ports.

A UDP channel is identified by the source and destination ports.

module ICMP : Mirage_nat.SUBTABLE with type t := t and type transport_channel = Cstruct.uint16

An ICMP query is identified by the ICMP ID.

val reset : t -> unit Lwt.t

Remove all entries from the table.

val remove_connections : t -> Ipaddr.V4.t -> Mirage_nat.ports

Remove all connections from and to the given IP address.

OCaml

Innovation. Community. Security.