Module Frenetic_kernel.Packet.Icmp

ICMP frame of a packet.

type t = {
typ : int8;

(** ICMP type. *)

code : int8;

(** ICMP subtype. *)

chksum : int16;

(** Checksum. *)

payload : Cstruct.t;

(** ICMP 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