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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 10 Dec 2009 08:57:19 -0800
From:	Stephen Hemminger <shemminger@...tta.com>
To:	chavey@...gle.com
Cc:	davem@...emloft.net, netdev@...r.kernel.org, therbert@...gle.com,
	chavey@...gle.com, joe@...ches.com, eric.dumazet@...il.com
Subject: Re: [PATCH] Add sysctl to set the advertised TCP initial receive
 window.

On Wed, 09 Dec 2009 18:05:42 -0800
chavey@...gle.com wrote:

> @@ -221,6 +222,7 @@ struct tcp_options_received {
>  	u8	num_sacks;	/* Number of SACK blocks		*/
>  	u16	user_mss;  	/* mss requested by user in ioctl */
>  	u16	mss_clamp;	/* Maximal mss, negotiated at connection setup */
> +	u8	init_rcv_wnd;	/* TCP initial receive window in MSS */
>  };

You could use the hole in the structure:

                snd_wscale : 4, /* Window scaling received from sender  */
                rcv_wscale : 4; /* Window scaling to send to receiver   */
+	u8	init_rcv_wnd;	/* TCP initial receive window in MSS */
/*      SACKs data      */
        u8      num_sacks;      /* Number of SACK blocks        
--
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