package frenetic

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

ICMP frame of a packet.

type t = {
  1. typ : int8;
    (*

    ICMP type.

    *)
  2. code : int8;
    (*

    ICMP subtype.

    *)
  3. chksum : int16;
    (*

    Checksum.

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

    ICMP 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