Results 1 to 4 of 4
Hi all
I need to write network device driver for specific chip, which encapsulates "Ethernet L2" packets by propriety header of 16bytes. Is there a example I can follow somewhere ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-06-2010 #1Just Joined!
- Join Date
- Feb 2010
- Posts
- 4
Some help for network device driver..
Hi all
I need to write network device driver for specific chip, which encapsulates "Ethernet L2" packets by propriety header of 16bytes. Is there a example I can follow somewhere ? esp. I'm looking for how I can setup "struct sk_buff {...}" so that it leaves 16bytes of header space before Ethernet L2 destination address, as well as pitfalls etc. A book I've read suggest thats possible ? any thoughts/pointers etc. much appreciated.
Thanks in advance.
- 02-07-2010 #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
- 10,236
Is this classwork, or work-work? Terms of use for this web site preclude providing help for school/class work. In any case, I would suggest that you invest in Steven Comer's Internetworking With TCP/IP books - it's a 3 volume set. Not cheap, but if your are doing this sort of work as a professional, or senior-level student, then it belongs on your personal bookshelf.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 02-07-2010 #3Just Joined!
- Join Date
- Feb 2010
- Posts
- 4
Thanks Rubberman, unfortunately its work-work, we build FPGAs for specific network equipment, until there is someone more "professional" avaliable I'm stucked with writing device driver for the FPGA I designed.. always fun to learn new things
- 02-07-2010 #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
- 10,236
Well, in this case, I think you would not be out of line to ask your boss to authorize a "trip" to Amazon.com!
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote
