tcpip.tcp
Tcp.State
tcpip
tcpip.checksum
tcpip.icmpv4
tcpip.icmpv4-socket
tcpip.ipv4
tcpip.ipv6
tcpip.stack-direct
tcpip.stack-socket
tcpip.tcp_socket_options
tcpip.tcpv4-socket
tcpip.tcpv4v6-socket
tcpip.tcpv6-socket
tcpip.udp
tcpip.udpv4-socket
tcpip.udpv4v6-socket
tcpip.udpv6-socket
type 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
| Timeout
val pp_action : Format.formatter -> action -> unit
type 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
| Reset
val pp_tcpstate : Format.formatter -> tcpstate -> unit
type close_cb = unit -> unit
type t
val state : t -> tcpstate
val t : on_close:close_cb -> t
val pp : Format.formatter -> t -> unit
module Make (Time : Mirage_time.S) : sig ... end