Tcp.Statetype action = | Passive_open| Recv_rst| Recv_synack of Sequence.t| Recv_ack of Sequence.t| Recv_fin| Send_syn of Sequence.t| Send_synack of Sequence.t| Send_rst| Send_fin of Sequence.t| Timeoutval pp_action : Stdlib.Format.formatter -> action -> unittype tcpstate = | Closed| Listen| Syn_rcvd of Sequence.t| Syn_sent of Sequence.t| Established| Close_wait| Last_ack of Sequence.t| Fin_wait_1 of Sequence.t| Fin_wait_2 of int| Closing of Sequence.t| Time_wait| Resetval pp_tcpstate : Stdlib.Format.formatter -> tcpstate -> unitval on_close : t -> unitval pp : Stdlib.Format.formatter -> t -> unitval finwait2timer : t -> int -> int64 -> unit Lwt.tval timewait : t -> int64 -> unit Lwt.t