From 5ed969aff0e9def4018d24436fb77257925f6a1c Mon Sep 17 00:00:00 2001 From: Googler Date: Wed, 9 May 2018 09:20:37 -0700 Subject: [PATCH] Internal change. PiperOrigin-RevId: 195980843 Change-Id: I066f9696b69e92e144c2c8d2c2aa52c546df94fb --- pkg/tcpip/transport/tcpconntrack/tcp_conntrack.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkg/tcpip/transport/tcpconntrack/tcp_conntrack.go b/pkg/tcpip/transport/tcpconntrack/tcp_conntrack.go index 487f2572d..194af772c 100644 --- a/pkg/tcpip/transport/tcpconntrack/tcp_conntrack.go +++ b/pkg/tcpip/transport/tcpconntrack/tcp_conntrack.go @@ -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