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.ipv4/Ipv4_packet/Unmarshal/index.html

Module Ipv4_packet.UnmarshalSource

Sourcetype error = string
Sourceval int_to_protocol : int -> protocol option
Sourceval of_cstruct : Cstruct.t -> (t * Cstruct.t, error) result
Sourceval header_of_cstruct : Cstruct.t -> (t * int, error) result

header_of_cstruct buf attempts to return t, offset where offset is the first byte of the payload in buf.

Sourceval verify_transport_checksum : proto:[ `TCP | `UDP ] -> ipv4_header:t -> transport_packet:Cstruct.t -> bool
OCaml

Innovation. Community. Security.