niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » Linux » networking
Write on proc filesystem
Post new topic   Reply to topic Page 1 of 1 [4 Posts] View previous topic :: View next topic
Author Message
ValerioZ
*nix forums beginner


Joined: 09 Feb 2005
Posts: 2

PostPosted: Wed Feb 09, 2005 3:13 pm    Post subject: Write on proc filesystem Reply with quote

Hi! I need to write on proc filesystem to enable a personal version of
tcp debug on fly. Do you know where I can find some documentation about
that?
Thanks.
ValerioZ
Back to top
joy
*nix forums beginner


Joined: 24 Feb 2005
Posts: 6

PostPosted: Wed Feb 09, 2005 3:25 pm    Post subject: Re: Write on proc filesystem Reply with quote

ValerioZ wrote:
Quote:
Hi! I need to write on proc filesystem to enable a personal version of
tcp debug on fly. Do you know where I can find some documentation about
that?
Thanks.
ValerioZ

in kernel source /net/ipv4/ here you find tcp stack.
But i think you have need to recompile all kernel ...

bye
peppe
Back to top
Bill Unruh
*nix forums addict


Joined: 19 Feb 2005
Posts: 87

PostPosted: Wed Feb 09, 2005 4:41 pm    Post subject: Re: Write on proc filesystem Reply with quote

ValerioZ <valeriocNO@NOlibero.it> writes:

Quote:
Hi! I need to write on proc filesystem to enable a personal version of
tcp debug on fly. Do you know where I can find some documentation about
that?

You can write on the proc filesystem. Many configuration options are
implimented just like that
echo 1>/proc/sys/net/ipv4/ip_forward
is how to switch on ip forwarding.

But since it is just a look into the kernel, the kernel option must allow
writing to it.
Back to top
ValerioZ
*nix forums beginner


Joined: 09 Feb 2005
Posts: 2

PostPosted: Wed Feb 09, 2005 10:46 pm    Post subject: Re: Write on proc filesystem Reply with quote

Bill Unruh wrote:
Quote:
You can write on the proc filesystem. Many configuration options are
implimented just like that
echo 1>/proc/sys/net/ipv4/ip_forward
is how to switch on ip forwarding.

But since it is just a look into the kernel, the kernel option must allow
writing to it.

Tanks, I've made a mistake, I need to "read" (Kernel side) on proc
filesystem. I would modify the tcp code to insert a little part which
show the debug option to user.
Thanks.
ValerioZ
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [4 Posts] View previous topic :: View next topic
The time now is Fri Jan 09, 2009 9:26 am | All times are GMT
navigation Forum index » *nix » Linux » networking
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Moving Oracle filesystem to SAN howard Server 1 Thu Jul 20, 2006 11:49 pm
No new posts What blocks a write to a socket pair? Joe networking 0 Wed Jul 19, 2006 3:08 pm
No new posts getting write permission over nfs exported ports directory Dr. R. E. Hawkins FreeBSD 10 Mon Jul 17, 2006 9:49 pm
No new posts Serial Port (Modem) read/write issues dao@snakebrook.com apps 10 Mon Jul 17, 2006 6:27 pm
No new posts How to write a small graceful gcd function? lovecreatesbeauty C 69 Sat Jul 15, 2006 9:28 am

0 Credit Cards | Loans | Debt Consolidation | Car Finance | MPAA
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1416s ][ Queries: 16 (0.0655s) ][ GZIP on - Debug on ]