Do something like this:
static int my_variable = 0;
SYSCTL_INT(_net_inet_ip, OID_AUTO, my_sysctl_name, CTLFLAG_RW,
&my_variable, 0, "Description of my variable");
Now you can access my_variable in kernel code, and configure it using:
sysctl -w net.inet.ip.my_sysctl_name = new_value
look
> -Original Message-
> From: Rogier R. Mulhuijzen [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, October 06, 2002 8:15 PM
> To: Ido Barnea; [EMAIL PROTECTED]
> Subject: RE: Help with net.inet.ip.intr_queue_maxlen
>
>
> Is there a write-up anywhere about what variable
> -Original Message-
> From: Steve Francis [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, October 06, 2002 3:13 AM
> To: [EMAIL PROTECTED]
> Subject: Help with net.inet.ip.intr_queue_maxlen
>
>
> Can someone help me with net.inet.ip.intr_queue_maxlen tuning?
>
> Firstly, its the "size of