LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-19-2011, 03:14 AM   #1
hayf
Member
 
Registered: Aug 2011
Distribution: Debian
Posts: 35

Rep: Reputation: Disabled
Smile how to manipulate sysctl_tcp_... variables


Hello,

I am trying to add a TCP option and i need to deal with variables in the "tcp.h" and add new ones similar to:
sysctl_tcp_timestamps. (for exemple)
How can we set and manipulate such variables? could the manipulation be done in tcp_output.c ??

Thanks in advance,

hayf
 
Old 08-23-2011, 03:48 AM   #2
hayf
Member
 
Registered: Aug 2011
Distribution: Debian
Posts: 35

Original Poster
Rep: Reputation: Disabled
After researches, such sysctl can be defined in a header file, the manipulation can be done in .c files.
the configuration of these variables can be done in sysctl.conf
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bash Script: parse active process stderr, strip, dump into variables, use variables TimeFade Programming 1 02-13-2010 06:09 AM
Threads synchronisation problem (mutex variables and contitional variables) zahadumy Programming 6 12-07-2005 12:30 PM
manipulate the floppy bruse Mandriva 1 02-22-2005 07:49 AM
need to manipulate dates clsonnt Programming 5 08-19-2003 10:07 AM
Shel scripting: variables pointing to variables and case Dark_Helmet Programming 5 06-08-2003 11:07 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration