To focus the search input from anywhere on the page, press the 'S' key.
in-package search v0.1.0
A TCP channel is identified by the source and destination ports.
type transport_channel = Mirage_nat.port * Mirage_nat.port
type channel = Ipaddr.V4.t * Ipaddr.V4.t * transport_channel
lookup t channel is
Some (expiry, translated_channel) - the new endpoints that should be applied to a packet using
channel - or
None if no entry for
expiry is an absolute time-stamp.
insert t ~expiry translations adds the given translations to the table. Each translation is a pair
input, target - packets with channel
input should be rewritten to have channel
output. It returns an error if the new entries would overlap with existing entries.
expiry is the absolute time-stamp of the desired expiry time.