package tcpip

  1. Overview
  2. Docs
OCaml TCP/IP networking stack, used in MirageOS

Install

dune-project
 Dependency

Authors

Maintainers

Sources

tcpip-v6.4.0.tbz
sha256=6e32bf540d291e9b7325cb3dd00df2f695533e009c46ea534d5518b9492c7348
sha512=2e9f9ca2eeac637599eb48e087b4632598539f1c76f9251758995c7eedeb723f8b951d557a2a53b85a58d50a04e68e15598581f88fca8997733e800fcfca422b

doc/tcpip.tcp/Tcp/Segment/index.html

Module Tcp.SegmentSource

TCP segments

The receive queue stores out-of-order segments, and can coalesece them on input and pass on an ordered list up the stack to the application.

It also looks for control messages and dispatches them to the Rtx queue to ack messages or close channels.

Sourcemodule Rx (T : Mirage_time.S) : sig ... end
Sourcetype tx_flags =
  1. | No_flags
  2. | Syn
  3. | Fin
  4. | Rst
  5. | Psh
    (*

    Either Syn/Fin/Rst allowed, but not combinations

    *)
Sourcemodule Tx (Time : Mirage_time.S) (Clock : Mirage_clock.MCLOCK) : sig ... end

Pre-transmission queue

OCaml

Innovation. Community. Security.