Find the answer to your Linux question:
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.
  1. #1
    Just 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.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,737
    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!

  3. #3
    Just 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

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,737
    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!

Posting Permissions

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