Thanks for your reply. I think I will go with the notification chains,
but I'll definitely have a look at your solution. For sure I'll learn
many things about netlink.
Martin
Prashant Bhole wrote:
This mail thread can be helpful to you:
http://www.nabble.com/Netlink-Socket%3A-trouble-while-using-netlink_broadcast-tt22950815.html
On Mon, Jun 29, 2009 at 11:33 AM, Martin Andre <andre@xxxxxxxxxx
<mailto:andre@xxxxxxxxxx>> wrote:
Hello,
I'm new to this list and also to kernel development.
I'd like to get notified when some specific event happen in the
kernel, like for example when a network interface goes up, or when a
new wireless Access Point has been discovered. In fact, all the
events I'd like to catch are broadcasted over netlink.
I found a lot of documentation about the communication between
kernel and userland using netlink, but could hardly find
documentation about kernel to kernel netlink usage.
What's the appropriate mechanism to catch the events I'm interested
in? And provided opening a netlink socket in the kernel is the way
to go, could you point me to relevant documentation or code example?
Regards,
Martin
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
<mailto:ecartis@xxxxxxxxxxxx>
Please read the FAQ at http://kernelnewbies.org/FAQ
--
~p~r~a~s~h~a~n~t~
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ