hacking ethernet driver - advice needed
DComTalk.com Forum Index DComTalk.com
Discussion of VoIP, VPN, Video Conferencen, DSL and other data commucations.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web dcomtalk.com
hacking ethernet driver - advice needed

 
Post new topic   Reply to topic    DComTalk.com Forum Index -> Ethernet
Author Message
Guest






Posted: Sun Sep 18, 2005 4:20 pm    Post subject: hacking ethernet driver - advice needed Reply with quote

Hi,
We have an kernel app (or code which runs only in the kernel).

I dont want to use the networking code of the linux kernel.

I just want to call the linux network device driver functions from my
code (say some character driver).

Actually, the driver is not a character driver in the true sense.

It actually sends and recieves network packets (Only Ethernet Packets)
No TCP/IP.


But I think the ethernet driver is closely coupled with the networking
code of linux.

I dont have any ethernet driver running on my system.

On my system only my driver will send and recieve packets (enet) over
the network.

I tried modifying the enet code. but i dont know what the upper layer
passes to each of the driver functions.

It passes some device and net_device structures and i dont know what
values these contain when it passes to the lower driver layer and what
modifications the upper layer do to these data structures.

I know the base address and irq


I am using smc91x.c linux driver.


I need your advice in this regard. how can i solve and resolve my
problem and how do i go about it.

The reason why i want to do it is time. sending/recieving the packets
must be very fast (very high performance sensitive).


Regards,
John
Back to top
 
Post new topic   Reply to topic    DComTalk.com Forum Index -> Ethernet All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Solutions: Telephone Systems Electronics Satellite TV Tech & Gadgets
Powered by phpBB