2002-11-15 20:44:06

by Arcot Arumugam

[permalink] [raw]
Subject: TCPPureAcks TCPHPAcks - Definition?

Hi

I am browsing linux TCP MIB header code and I see many fields but no
explanation on what those fields are.

Some of them are obvious but others are not.

you can see all of them by typing

/proc/net/netstat

Does anyone know about what these fields contain? Is it documented anywhere?

I did a google but could not find anything.

Thanks

Arcot


2002-11-15 21:10:19

by David Miller

[permalink] [raw]
Subject: Re: TCPPureAcks TCPHPAcks - Definition?

On Fri, 2002-11-15 at 13:03, Arcot Arumugam wrote:
> Does anyone know about what these fields contain? Is it documented anywhere?

They are statistics for the developers of the networking
stack, if you can't be bothered to read and unstand the
places in the TCP stack sources where these counters are
bumped then congratulations these statistics can safely
be ignored by you :-)

2002-11-15 21:21:52

by Arcot Arumugam

[permalink] [raw]
Subject: Re: TCPPureAcks TCPHPAcks - Definition?

<...>
> read and unstand the
> places in the TCP stack sources where these counters are
> bumped

I will do that.

But does it hurt so much that the networking stack developers cannot provide
a comment for each field?

I know they are busy people and do not do such "trivial" things.

Thanks anyway

Arcot

----- Original Message -----
From: "David S. Miller" <[email protected]>
To: "Arcot Arumugam" <[email protected]>
Cc: <[email protected]>
Sent: Friday, November 15, 2002 1:35 PM
Subject: Re: TCPPureAcks TCPHPAcks - Definition?


> On Fri, 2002-11-15 at 13:03, Arcot Arumugam wrote:
> > Does anyone know about what these fields contain? Is it documented
anywhere?
>
> They are statistics for the developers of the networking
> stack, if you can't be bothered to read and unstand the
> places in the TCP stack sources where these counters are
> bumped then congratulations these statistics can safely
> be ignored by you :-)
>

2002-11-15 22:24:46

by Nivedita Singhvi

[permalink] [raw]
Subject: Re: TCPPureAcks TCPHPAcks - Definition?

> I am browsing linux TCP MIB header code and I see many fields but no
> explanation on what those fields are.
>
> Some of them are obvious but others are not.
>
> you can see all of them by typing
>
> /proc/net/netstat
>
> Does anyone know about what these fields contain? Is it documented anywhere?
>
> I did a google but could not find anything.

TCPHPAcks - An ack received in TCP fast path. i.e.
header prediction path. In sequence ack
that moves the window. See tcp_ack()
in tcp_input.c.

TCPPureAcks - Pure ack recvd (i.e. no data was sent).
This excludes the above category.


I am working on documenting this stuff. Probably a couple
of weeks away.

I also suggest posting to [email protected], which is the
mailing list targeted to networking developers, or even
[email protected], which is the mailing list most
networking users post problem reports and questions on.
Your chances of reaching a networking person who has time to
answer the question are greater :).

thanks,
Nivedita