package tcpip

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

tcpip-8.2.0.tbz
sha256=916e688aba897676c444db8129f4963ad739f8d1be631d9e009c6228b4b7d6ed
sha512=a8f5fa8f7e96758075c93211132839950477b756fba490207a7d630f2766757bbb44bbdd02e2b1f2b4a7d83d4d8b10d34cb03903bbd516e7d7c1a9a987eb1915

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) (ACK : Ack.M) : 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.