LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-06-2011, 01:01 AM   #1
Maitrikkshah
LQ Newbie
 
Registered: Aug 2011
Posts: 9

Rep: Reputation: Disabled
Want to add data in the header field of tcp/ip header


Hi!! I want to send data in the options field of the tcp/ip header.
can anyone tell me what changes i should made in the files(tcp.h, tcp.c).
 
Old 08-06-2011, 06:07 AM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
You don't should make any changes to those files unless you know what you're doing, just use an app that will let you generate custom packets - like packeth
 
  


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
Using the option field in IP header guam Programming 5 08-25-2011 04:52 AM
can i add my own field(of 2 bytes) in the ip header structure raklo Linux - Networking 5 08-18-2011 02:17 PM
Question regarding TCP coding and TCP header in ns2 bsyew Linux - Newbie 0 04-13-2011 12:08 PM
Adding Option field in IP header guam Linux - Networking 0 11-04-2004 10:17 AM
Setting TOS field in IP header malik_mca Programming 1 10-13-2004 01:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:38 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