Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 18
Hello everybody, I am new to driver programming and has learnt running simple modules. I am in search of a networking driver example which runs on top of TCP/IP. Please ...
  1. #1
    Just Joined!
    Join Date
    Jun 2009
    Posts
    10

    Driver example on top of TCP/IP

    Hello everybody,

    I am new to driver programming and has learnt running simple modules. I am in search of a networking driver example which runs on top of TCP/IP. Please provide me related examples and notes. Thanks in advance.

    Regards,
    Rajesh Kumar.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Please be more specific as to what you want to do, and why you think that a kernel module is the correct approach to take?
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Jun 2009
    Posts
    10
    Hello,
    I am trying to develop a simple driver/module on TCP/IP for learning purposes. If any example is provided regarding this i can take it as reference to complete my work. I am not specific about module or driver, i just want to run it in kernel space.

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Download the book Linux Device Drivers, or Linux Kernel in a Nutshell by O'Reilly. They are free to download as PDF files if you cannot afford to purchase a hard copy.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  5. #5
    Just Joined!
    Join Date
    Jun 2009
    Posts
    10
    Hello,
    Thanks for replying so quickly. I have referred the books specified by you and others related to linux device drivers, but failed to get a good example. Please provide examples/notes related...

  6. #6
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Well, it depends upon what you are trying to accomplish. Also, I have to ask if this is a school project?
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  7. #7
    Just Joined!
    Join Date
    Jun 2009
    Posts
    10
    I am trying to implement RFC1006, which is nothing but tp0 on top of TCP/IP.

  8. #8
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    My DDN handbooks are somewhat out of date (vol.2&3 - 1985, vol.4 1989), so I don't find RFC 1006. Please be more specific what it covers.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  9. #9
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Ok. I found a PDF of the RFC. I'll get back to you tomorrow about this. I need to read it. The date is 1987 and indicates it obsoletes RFC 983. At least it's short (about 20 pages)...
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  10. #10
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    BTW, most people would be clueless as to the meaning of TP0, as I was, and I have 25 years of TCP/IP programming experience! The CCITT / ISO protocols are not commonly used these days, and I have never had the need to implement them, though I have implemented substantial parts of the TCP/IP protocol stack in the past. My TCP/IP and other network documentation covers about 6 linear feet of my bookshelf.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Page 1 of 2 1 2 LastLast

Posting Permissions

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