[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Adding variables to sysctl...
- To: tech_(_at_)_openbsd_(_dot_)_org
- Subject: Adding variables to sysctl...
- From: kfl <kfl_(_at_)_xiphos_(_dot_)_ca>
- Date: Thu, 5 Jul 2001 11:15:52 -0400
I wanna add a variable to the kernel so i can enable/disable some
tcp options i have created. So id like to do:
sysctl -w net.inet.tcp.my_option = 1
I have added a definition for it in tcp_var.h, added one to TCPCTL_MAXID,
and added en entry at the end of TCPCTL_NAMES.
I have also declared a int variable in tcp_var.h and a new case in
I know i'm missing something can anybody help me, should i
issue a call like SYSCTL_INT() somewhere?
Visit your host, monkey.org