Subject: Re: TCP ECN diff
To: Jason Thorpe <thorpej@shagadelic.org>
From: Rui Paulo <rpaulo@fnop.net>
List: tech-net
Date: 08/31/2006 21:51:32
On Aug 31, 2006, at 9:43 PM, Jason Thorpe wrote:
>
> On Aug 31, 2006, at 11:50 AM, Rui Paulo wrote:
>
>> Hi,
>> Here's the TCP ECN diff for public scrutiny.
>> Any comments before I commit this ?
>>
>> -- Rui Paulo
>>
>> <netbsd-tcp-ecn.diff>
>
> /*
> @@ -675,7 +690,8 @@ struct tcpstat {
> #define TCPCTL_STATS 30 /* TCP statistics */
> #define TCPCTL_DEBUG 31 /* TCP debug sockets */
> #define TCPCTL_DEBX 32 /* # of tcp debug sockets */
> -#define TCPCTL_MAXID 33
> +#define TCPCTL_ECN 33 /* RFC3168 ECN */
> +#define TCPCTL_MAXID 34
>
> We should not be adding new TCPCTL_* constants.
How do you create a sysctl node and then reference it to add more
subnodes without TCPCTL_* constants ? I'm not sure how to do this via
dynamic sysctl..
-- Rui Paulo