mirage-nat

Mirage-nat is a library for network address translation to be used with MirageOS
IN THIS PACKAGE
Parameter #1 Nat_rewrite . Make . Table
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.