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 ...
- 06-09-2009 #1Just 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.
- 06-09-2009 #2Linux Guru
- 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!
- 06-10-2009 #3Just 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.
- 06-10-2009 #4Linux Guru
- 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!
- 06-10-2009 #5Just 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...
- 06-10-2009 #6Linux Guru
- 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!
- 06-11-2009 #7Just Joined!
- Join Date
- Jun 2009
- Posts
- 10
I am trying to implement RFC1006, which is nothing but tp0 on top of TCP/IP.
- 06-11-2009 #8Linux Guru
- 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!
- 06-11-2009 #9Linux Guru
- 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!
- 06-11-2009 #10Linux Guru
- 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!


Reply With Quote