package frenetic

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

UDP frame of a packet.

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

    Source port.

    *)
  2. dst : tpPort;
    (*

    Destination port.

    *)
  3. chksum : int16;
    (*

    Checksum.

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

    UDP 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.