package tcpip

  1. Overview
  2. Docs
On This Page
  1. IP layer
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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.