Module Frenetic_kernel.Packet.Udp

UDP frame of a packet.

type t = {
src : tpPort;

(** Source port. *)

dst : tpPort;

(** Destination port. *)

chksum : int16;

(** Checksum. *)

payload : Cstruct.t;

(** UDP payload. *)

}
include sig ... end
val t_of_sexp : Ppx_sexp_conv_lib.Sexp.t ‑> t
val sexp_of_t : t ‑> Ppx_sexp_conv_lib.Sexp.t