package tcpip

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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.