Networking Forums

Networking Forums > Computer Networking > Linux Networking > Ethernet driver - clarifications and help needed

Reply
Thread Tools Display Modes

Ethernet driver - clarifications and help needed

 
 
john.maximus@gmail.com
Guest
Posts: n/a

 
      09-18-2005, 12:23 PM
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

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CRC clarifications karthikbalaguru Linux Networking 2 05-05-2009 05:56 AM
Driver help needed, Engenius EUB 362 EXT carleeniet@yazoo.com Wireless Internet 0 08-04-2007 02:37 AM
PCI Ethernet card driver needed =?Utf-8?B?UGhpbGlw?= Windows Networking 9 02-24-2006 04:15 PM
MN-730 driver needed Tom Broadband Hardware 3 05-31-2004 11:47 PM
Driver needed for MN-720 Chris Broadband Hardware 3 04-17-2004 06:59 AM



1 2 3 4 5 6 7 8 9 10 11