Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help to write Ethernet driver client resides in kernel space



Hi all,

I am trying to write one client module in kernel
space which can communicate to existing ethernet
driver and receives packets on the network.But
currently I am not able to call any methods related to
Ethernate Controller Driver.

For solving above purpose, i wrote one class called
"MyClass" using IOKIT.This class is inherited from
IOService.Inisde Start method ,I dynamically cast
IOService to IONetworkInterface.After that ,using
getNetworkData method of IONetworkInterface class,I am
trying to create IONetworkData object.After that,
Using read() of IONetworkData trying to read the
network data.But I am not able to read the data from
network.

Above code is similar to the code of user client
"IONetworkUserInterface" that resides in kernel space.

Please help me to solve the problem of communicating
to Ethernate Controller Diver.If you have any books
related to "Writing Kernel Module to communicate with
existing driver" than please let me know.

Thanks in advance,


Regards

--Girish Dudhe
S P Software Technologies (I) Pvt Ltd,
India.





__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
_______________________________________________
darwin-drivers mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-drivers
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.