Internal change.

PiperOrigin-RevId: 195980843
Change-Id: I066f9696b69e92e144c2c8d2c2aa52c546df94fb
This commit is contained in:
Googler
2018-05-09 09:21:25 -07:00
committed by Shentubot
parent ad278d6944
commit 5ed969aff0
@@ -106,6 +106,11 @@ func (t *TCB) OutboundSendSequenceNumber() seqnum.Value {
return t.outbound.nxt
}
// InboundSendSequenceNumber returns the snd.NXT for the inbound stream.
func (t *TCB) InboundSendSequenceNumber() seqnum.Value {
return t.inbound.nxt
}
// adapResult modifies the supplied "Result" according to the state of the TCB;
// if r is anything other than "Alive", or if one of the streams isn't closed
// yet, it is returned unmodified. Otherwise it's converted to either