Fedora Linux Support Community & Resources Center
  #1  
Old 16th June 2008, 11:16 AM
dignaciojr Offline
Registered User
 
Join Date: Jun 2008
Posts: 3
Unhappy source code and kernel header modification

Hello guys,

Good day!

I am adding new variables to the tcp header(tcp.h) of the linux kernel and reflect this changes to the source code(tcp_input.c) .Kindly shed light to my confusions below:
1. Do I have to recompile the whole kernel to reflect the changes in the header files and source code(i.e., tcp.c, tcp_input.c, etc)?
2. If so, what are the necessary steps involved( i.e., re-compile process) to reflect the new variables I added to the header file and the source codes?
3. I already tried recompiling the whole kernel and I always got an error.

Thank you very much in advance for the help.
Cheers,
Dom
Reply With Quote
  #2  
Old 17th June 2008, 04:51 AM
dignaciojr Offline
Registered User
 
Join Date: Jun 2008
Posts: 3
Hi,



Thank you for the reply. it was most helpful.Another question guys.

I want to insert an srtt estimated value into the tcp option of the outgoing packets of the tcp header.

1. I am confused on what specific source code( tcp.c, tcp_input.c or tcp_output.c) am I going to put the srtt estimate so that it is going to be captured by tcpdump?



Thank you in advance for the help.



Cheers,

Domingo
Reply With Quote
  #3  
Old 11th July 2008, 11:22 AM
dignaciojr Offline
Registered User
 
Join Date: Jun 2008
Posts: 3
any reply on this everyone?
Reply With Quote
  #4  
Old 6th August 2011, 07:49 AM
maitrik Offline
Registered User
 
Join Date: Aug 2011
Posts: 1
linuxfedorafirefox
Re: source code and kernel header modification

Hiii!! I also want to modify tcp.h... Can you give me the ans?
1. Do I have to recompile the whole kernel to reflect the changes in the header files and source code(i.e., tcp.c, tcp_input.c, etc)?
2. If so, what are the necessary steps involved( i.e., re-compile process) to reflect the new variables I added to the header file and the source codes?
Reply With Quote
Reply

Tags
code, header, kernel, modification, source

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Header Source Kernel Help! 3th0s Using Fedora 5 9th May 2007 07:10 AM
kernel source - header file dm.h not found carramba Using Fedora 1 10th June 2006 04:32 AM
Can't find my kernel source/header files Velvohm Installation, Upgrades and Live Media 5 25th February 2006 05:22 PM
Where Is Kernel Source Code megadeth Installation, Upgrades and Live Media 4 25th February 2005 09:12 AM
Source code for kernel-2.6.6-1.427 egurski Installation, Upgrades and Live Media 2 13th June 2004 03:47 AM


Current GMT-time: 02:46 (Thursday, 27-11-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
St John's Wood Travel Photos on Instagram - Hasankeyf Kalesi Photos - La Fabrica De Chocolate Instagram Photos