[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1180258853.7707.53.camel@localhost.localdomain>
Date: Sun, 27 May 2007 17:40:53 +0800
From: Zhang Rui <rui.zhang@...el.com>
To: hadi@...erus.ca
Cc: linux-acpi@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH] [-mm] ACPI: export ACPI events via netlink
On Tue, 2007-05-22 at 07:03 -0400, jamal wrote:
> Hi Zhang Rui,
>
> Really cool stuff. Can you instead use genetlink?
> http://linux-net.osdl.org/index.php/Generic_Netlink_HOWTO
> should help. And if you have more questions post on netdev (not lk).
>
Yes, I have one now. :)
I need to write a user application to test my patch.
Netlink messages can be sent/received using the standard socket API.
But how to receive Genetlink messages from specified genetlink family?
There is no socket ACPI with such a parameter, right?
Do I have to receive all the genetlink messages first?
It would be great if there are any examples on user space communication.
Or should I use libnl library instead?
Thanks,
Rui.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists