PDA

View Full Version : Linux: how to create a sysctl variable?



hayf
08-26-2011, 09:34 AM
Hello,
I have a debian kernel 2.6.32 machine and i making changes to the tcp stack.
To make this i need to create a new sysctl variable.

can anybody tell me in which files i have to declare, define.. the variable and what are the steps to do so?

Thanks in advance

Salem
08-26-2011, 10:52 AM
I don't know, but since you know what they are, then perhaps you could find other examples of sysctl variables in the code base, and see how they do it.

Then it's follow the examples you find.