Hi All, I want to first understand and then write a network driver for simple Ethernet device (actually instead of inbuilt network driver i want to run my network driver). Actually the new driver should have PF_RING enable/support and Net filter usage. Although we can copy the driver too but i want to understand some driver and write my own so that i get clear understanding about network driver. Now can you please help me how should i proceed? First should i see how the packet flows in the kernel or how should i go and please provide some good links to study. Thanks
On Tue, 06 Aug 2013 10:22:23 -0700, Robert Clove said:
I want to first understand and then write a network driver for simple Ethernet device (actually instead of inbuilt network driver i want to run my network driver).
"simple Ethernet device". That's the first bug you need to fix in your driver. :)
There's a nice write-up about the n/w stack here: http://media.wix.com/ugd//295986_a3dcb13a2f46d15cb75abab021a239da.pdf It'll give you a start in understanding how the packet traverses the stack. -mandeep On Tue, Aug 6, 2013 at 10:52 PM, Robert Clove <cloverobert@gmail.com> wrote:
Hi All,
I want to first understand and then write a network driver for simple Ethernet device (actually instead of inbuilt network driver i want to run my network driver).
Actually the new driver should have PF_RING enable/support and Net filter usage. Although we can copy the driver too but i want to understand some driver and write my own so that i get clear understanding about network driver.
Now can you please help me how should i proceed? First should i see how the packet flows in the kernel or how should i go and please provide some good links to study.
Thanks
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
participants (3)
-
Mandeep Sandhu -
Robert Clove -
Valdis.Kletnieks@vt.edu