Re: Connector - how to start?
From: Randy.Dunlap
Date: Fri Apr 14 2006 - 22:27:40 EST
On Sat, 15 Apr 2006 03:09:05 +0200 Libor Vanek wrote:
> Hi,
> I'd like to start writing some small module using connector to send
> messages to/from user-space. Unfortunately I'm absolutely not familiar
> with netlink/connector API usage and I couldn't find any usefull
> documentation (yes, I read Documentation/connector/ and tried Google).
>
> So here's things which are not clear to me:
> - the Documentation/connector containts only kernel-space example -
> don't anybody have also "user-space client example"?
> - how do I ACK message sent to/from user-space?
> - in case of multiple clients listening how do I send message just to
> (random) one (simple load balancing) or to all of them? (broadcasting)
> - is there some "easy" way how to send longer messages then
> CONNECTOR_MAX_MSG_SIZE?
There was a connector userspace example posted to lkml on
2005-SEP-28:
Subject: [RFC] Process Events Connector (test program)
From: Matthew Helsley <matthltc@xxxxxxxxxx>
It seems like one of the Red Hat guys had some netlink documentation
and sample programs at people.redhat.com, but I can't find that
just now.
---
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/