Module Frenetic_kernel.Packet.Tcp

TCP frame of a packet.

module Flags : sig ... end

TCP header flags.

type t = {
src : tpPort;

(** Source port. *)

dst : tpPort;

(** Destination port. *)

seq : int32;

(** Sequence number. *)

ack : int32;

(** Acknowledgement number. *)

offset : int8;

(** Data offset. *)

flags : Flags.t;

(** TCP header flags. *)

window : int16;

(** Window size. *)

chksum : int8;

(** Checksum. *)

urgent : int8;

(** Urgent pointer. *)

payload : Cstruct.t;

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