LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-10-2009, 10:31 AM   #1
fedor
LQ Newbie
 
Registered: Aug 2009
Posts: 3

Rep: Reputation: 0
Unhappy Modify network protocols


Hey guys...!! I m pretty new to Linux..!! I've been given a task to modify network protocol(TCP in particular). So now i've to make few changes to the kernel which includes modifying few source files. So i want to know how can i go abt it. Till now i've explored various .c files of kernel(Eg.tcp.c,tcp_input.c etc etc)by referring few books. And now comes the important part of implementing it. So how exactly can i go abt it?? I went thru various threads like installing a kernel,compliling a kernel and other things. But i m not getting the exact sequence in which i should do it. I've installed fedora 10. But i cannot see any source files which i can modify. Where and how can i modify these files???Any form of suggestion will be of g8 help for a newbie like me... Thanks in advance..
 
Old 08-10-2009, 11:52 AM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,898
Blog Entries: 27

Rep: Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185
Hi,

Welcome to LQ!

You could provide a little more detail about what you are attempting to do.

If it's kernel related then I refer you to the 'Linux Kernel' section of 'SlackwareŽ-Links'. More than just SlackwareŽ links!

What are you trying to do with 'TCP'?
 
Old 08-10-2009, 12:14 PM   #3
fedor
LQ Newbie
 
Registered: Aug 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Hi Onebuck.. Thanks for responding... Ok it is like this..!! We are trying to modify TCP,so that it is suitable for MANETs(Mobile Ad-hoc networks)where the packet loss is mainly due to error than the congestion. So to implement it i have to modify few source files related to transport protocol (mainly tcp_input.c file and few others ). So how can i go abt it??? As in, locating those files ,modifying and post modifying steps.
 
Old 08-10-2009, 12:38 PM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,898
Blog Entries: 27

Rep: Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185
Hi,

A little googling; http://www.faqs.org/faqs/internet/tc...-ip-faq/part1/ and the beat goes on. Look at the faqs.
 
Old 08-10-2009, 01:02 PM   #5
fedor
LQ Newbie
 
Registered: Aug 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Hi Onebuck.. Thanks for those previous post links.. Now i got it.. I hv to actually hack the kernel..!! I'll try to search threads explaining steps to hack the kernel..!! I assume these should be the steps
1.Get the source codes
2.modify the kernel(make necessary changes in the files)
3.compile the kernel
4.install the kernel
Hope these are the steps in breif.
 
Old 12-10-2009, 08:05 PM   #6
antonioli
LQ Newbie
 
Registered: Dec 2009
Posts: 3

Rep: Reputation: 0
Hi!

I'm trying use an extension of TCP (Freeze-TCP [1]) to mitigate the effect of mobility.
But when I'm doing the patch, it asks for files that do not exist in my usr/src/linux-.../net/ipv4 directory like tcp.c, tcp_output.c or tcp_minisocks.c.

It's normal don't have that files?


[1] http://www.nicta.com.au/people/mehanio/freezetcp
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Implementation of Network Protocols rajya Linux - Networking 1 04-12-2009 05:33 AM
network monitoring protocols & ip wise sunlinux Linux - Software 3 07-30-2008 10:54 AM
Source code to block Specific Network protocols/ports ygramesh Programming 3 01-17-2007 08:43 PM
Why is multicast protocols designed in Layer 3 when routing protocols in L5 vineeth_thampi Linux - Networking 2 07-04-2006 06:23 PM
analysis and design of network protocols iquadri1 Linux - Networking 0 09-21-2002 03:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:17 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration