package frenetic

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

TCP frame of a packet.

module Flags : sig ... end

TCP header flags.

type t = {
  1. src : tpPort;
    (*

    Source port.

    *)
  2. dst : tpPort;
    (*

    Destination port.

    *)
  3. seq : int32;
    (*

    Sequence number.

    *)
  4. ack : int32;
    (*

    Acknowledgement number.

    *)
  5. offset : int8;
    (*

    Data offset.

    *)
  6. flags : Flags.t;
    (*

    TCP header flags.

    *)
  7. window : int16;
    (*

    Window size.

    *)
  8. chksum : int8;
    (*

    Checksum.

    *)
  9. urgent : int8;
    (*

    Urgent pointer.

    *)
  10. payload : Cstruct.t;
    (*

    TCP payload.

    *)
}
include Ppx_sexp_conv_lib.Sexpable.S with type t := t
val t_of_sexp : Sexplib0__.Sexp.t -> t
val sexp_of_t : t -> Sexplib0__.Sexp.t
OCaml

Innovation. Community. Security.