lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <46EF0427.20503@hp.com>
Date:	Mon, 17 Sep 2007 15:48:07 -0700
From:	Rick Jones <rick.jones2@...com>
To:	John Heffner <jheffner@....edu>
Cc:	netdev@...r.kernel.org
Subject: Re: [PATCH] include listenq max/backlog in tcp_info and	related	reports
 - correct version/signorder

John Heffner wrote:
> Rick Jones wrote:
> 
>> John Heffner wrote:
>>
>>> Any reason you're overloading tcpi_unacked and tcpi_sacked?  It seems 
>>> that setting idiag_rqueue and idiag_wqueue are sufficient.
>>
>>
>> Different fields for different structures.   The tcp_info struct 
>> doesn't have the idiag_mumble, so to get the two values shown in 
>> /proc/net/tcp I use tcpi_unacked and tcpi_sacked.
>>
>> For the INET_DIAG_INFO stuff the idiag_mumble fields are used and that 
>> then covers ss.
> 
> 
> Maybe I'm missing something.  get_tcp[46]_sock() does not use struct 
> tcp_info.  The only way I see using this is by doing 
> getsockopt(TCP_INFO) on your listen socket.  Is this the intention?


Yes.  Sorry I got a triffle turned-around there.

rick
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ