package tcpip

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

tcpip-8.0.0.tbz
sha256=36b4c156be16702ba4c6d781a2da8ba1462b22370d15570e1116056cbf025233
sha512=56a1aab616349152beff7d0a504db15dc3d0010cb36322ce06b7abb43bd9d1a6ec0daa23fd6632fcc758c89737ba48046bb591d4a70021e273b80e716b55c44f

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.