Segment.TxSourcePre-transmission queue
module Time : Mirage_time.Smodule Clock : Mirage_clock.MCLOCKQueue of pre-transmission segments
val create :
xmit:('a, 'b) xmit ->
wnd:Window.t ->
state:State.t ->
rx_ack:Sequence.t Lwt_mvar.t ->
tx_ack:(Sequence.t * int) Lwt_mvar.t ->
tx_wnd_update:int Lwt_mvar.t ->
t * unit Lwt.tQueue a segment for transmission. May block if:
The transmitter should check that the segment size will not be greater than the transmit window.