Results 1 to 4 of 4
Can someone help me with simple example of network driver modules that send and receive Ethernet packet on same network interface...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-08-2011 #1Just Joined!
- Join Date
- May 2011
- Posts
- 3
ethernet network driver module
Can someone help me with simple example of network driver modules that send and receive Ethernet packet on same network interface
- 05-08-2011 #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,152
Have you tried the obvious - examine existing kernel drivers?
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 05-08-2011 #3Just Joined!
- Join Date
- May 2011
- Posts
- 3
- 05-09-2011 #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,152
I'm talking about existing network drivers. There is root network code that all network device drivers use. You REALLY need to get familiar with all that. Download the source for your kernel, install it, and start looking at that. In the kernel tree, there is a top-level directory "net" that has all this cruft. This is not simple stuff, but you should be able to figure it out with some effort. The netlink driver is there also in net/netlink.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote

