Results 1 to 3 of 3

Thread: TCP/IP stack modification

  1. #1
    Join Date
    Jul 2011

    Cool TCP/IP stack modification


    I am willing to modify the source of TCP/IP stack, precisely the ARP portion of the ethernet. I don't know if there is any legal issue with that, in that case please let me know.
    I am unable to find where these codes reside on the system. I hunted for the same on internet and found out a file named arp.c takes care of the ARP part of the system. But I am unable to locate it on ubuntu. I am also looking for a comprehensive text of how these Data Link Layer modules interact with each other (inter layer and intra layer), so that I can plan my way to proceed.
    Any one having any resource on the same, please guide me through. If not ubuntu please let me know about other variants that you know or which variant will have the maximum freedom as well as documentation to allow me to proceed with my idea.
    Sorry if I am posting it on the wrong section. I searched for kernel section but it wasn't there and I found Networking to be relevant.

    Thank you very much!

  2. #2
    Join Date
    Jun 2011
    Atlanta Georgia
    Ubuntu 10.04 Lucid Lynx

    Re: TCP/IP stack modification

    You need to download the actual kernel source, not just use your pre-compiled kernel.

    You can get the latest kernel source from github and modify the stack until your heart's content.

    the file you're looking for is under net/ipv4/arp.c

  3. #3
    Join Date
    Jul 2011

    Lightbulb Re: TCP/IP stack modification

    Thank you so much.
    I can now locate where I have to work.
    Can you suggest me any resource from where I can look up how these modules interact with each other, what are the duties of the different functions and data structures used in the code?
    If not, can you suggest me where to shout for help on this topic?
    It would be of great help.
    Thank you.

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts