package tcpip

  1. Overview
  2. Docs

doc/tcpip/Tcpip/Ip/index.html

Module Tcpip.IpSource

IP layer

Sourcetype error = [
  1. | `No_route of string
    (*

    can't send a message to that destination

    *)
  2. | `Would_fragment
    (*

    would need to fragment, but fragmentation is disabled

    *)
]

IP errors and protocols.

Sourceval pp_error : error Fmt.t
Sourcetype proto = [
  1. | `TCP
  2. | `UDP
  3. | `ICMP
]
Sourceval pp_proto : proto Fmt.t
Sourcemodule type S = sig ... end

An Internet Protocol (IP) layer reassembles IP fragments into packets, removes the IP header, and on the sending side fragments overlong payload and inserts IP headers.

OCaml

Innovation. Community. Security.