From 23c944816a1a692f7a129f56f7d44d27efc3efda Mon Sep 17 00:00:00 2001 From: Tom Henderson Date: Tue, 14 Mar 2017 09:15:21 -0700 Subject: [PATCH] documentation: Update previous tutorial commit --- doc/tutorial/source/tracing.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/tutorial/source/tracing.rst b/doc/tutorial/source/tracing.rst index f69b7435b..e3e5c7366 100644 --- a/doc/tutorial/source/tracing.rst +++ b/doc/tutorial/source/tracing.rst @@ -127,9 +127,10 @@ You could simply add one, changing the code. Here is the original:: To log the SYN+ACK case, you can add a new ``NS_LOG_LOGIC`` in the ``if`` statement body:: - /** Process the newly received ACK */ + /* Received a packet upon ESTABLISHED state. This function is mimicking the + role of tcp_rcv_established() in tcp_input.c in Linux kernel. */ void - TcpSocketBase::ReceivedAck (Ptr packet, const TcpHeader& tcpHeader) + TcpSocketBase::ProcessEstablished (Ptr packet, const TcpHeader& tcpHeader) { NS_LOG_FUNCTION (this << tcpHeader); ...