problem in defining a sysctl tcp variable
Hello,
I am using a debian linux 2.6.32 machine. I am changing the tcp stack in <kernel to add a new tcp option. So I defined a variable similat to tcp_timestamps called tcp_variable. I defined it in tcp.h, and in sysctl_net_ipv4.c, i added similarly to tcp_timzstamps this code: static struct ctl_table ipv4table[]={ ... { .ctl_name = NET_IPV4_TCP_VARIABLE, .proc_name = "tcp_variable", .data = &sysctl_tcp_wing, ...} I also defined it in sysctl.h in the tcp enum at the end (same enum with tcp timestamps). Then i used this sysctl variable in tcp_output.. The problem is that my variable didn't function and i had en error in kernal variables after recompilation. Add to this other variables aren't working such as tcp_timestamps... what is missing in my method to create the variable? how can i correct it? Or what are the steps to define a nez sysctl variable?? thanks in advance |
Please don't double post. I've reported this for being a duplicate of this.
|
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
|
All times are GMT -5. The time now is 01:18 PM. |