* Kernel connector.
@ 2005-05-19 6:25 Evgeniy Polyakov
2005-05-19 6:25 ` Evgeniy Polyakov
2005-05-19 6:25 ` Evgeniy Polyakov
0 siblings, 2 replies; 3+ messages in thread
From: Evgeniy Polyakov @ 2005-05-19 6:25 UTC (permalink / raw)
To: lm-sensors
Skipped content of type multipart/mixed-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20040830/d3da9749/attachment.bin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Kernel connector.
2005-05-19 6:25 Kernel connector Evgeniy Polyakov
@ 2005-05-19 6:25 ` Evgeniy Polyakov
2005-05-19 6:25 ` Evgeniy Polyakov
1 sibling, 0 replies; 3+ messages in thread
From: Evgeniy Polyakov @ 2005-05-19 6:25 UTC (permalink / raw)
To: lm-sensors
On Mon, 30 Aug 2004 16:59:09 +0400
Evgeniy Polyakov <johnpol@2ka.mipt.ru> wrote:
> Kernel connector.
>
> Hmm, do not know how to describe... And do not have a mega picture(may
> draw if you want).
>
> This driver adds possibility to connect anything with anything using
> netlink based network.
> One must register callback and identificator. When driver receives
> special netlink message with appropriate identificator, appropriate
> callback will be called.
> I think that the code better explains what I'm trying to say.
>
> cn_queue.[ch] - main queue processing routings.
> connector.[ch] - interface to the external modules.
> ucon.c - userspace daemon. It is broken a bit, but the main idea is
> very clear.
> cn_test.c - module to test new connector.
> Makefile - it will link all above cruft.
While driving home I realized, that this connector can be easily
extended to support _any_ kind of messages, not only cn_msg.
If callback supplier will provide length of the message that should be
redirected to him and some ->check() callback, then main connector after
receiving the message checks all registered callback suppliers, and if
lengths are equal pass either skb, or data, or anything else to the
supplier's->check() functions, which must decide should this packet be
redirected to callback spuuplier or not.
Obviously it can be extended to support ioctl, but I do not think it is
really needed.
Evgeniy Polyakov ( s0mbre )
Only failure makes us experts. -- Theo de Raadt
^ permalink raw reply [flat|nested] 3+ messages in thread
* Kernel connector.
2005-05-19 6:25 Kernel connector Evgeniy Polyakov
2005-05-19 6:25 ` Evgeniy Polyakov
@ 2005-05-19 6:25 ` Evgeniy Polyakov
1 sibling, 0 replies; 3+ messages in thread
From: Evgeniy Polyakov @ 2005-05-19 6:25 UTC (permalink / raw)
To: lm-sensors
On Mon, 2004-08-30 at 16:59, Evgeniy Polyakov wrote:
> Kernel connector.
>
Design draft as picture:
http://tservice.net.ru/~s0mbre/?section=gallery&item=connector_design
Design draft as diagram:
http://tservice.net.ru/~s0mbre/archive/connector.dia
--
Evgeniy Polyakov ( s0mbre )
Crash is better than data corruption. -- Art Grabowski
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20040831/0f162bad/attachment.bin
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-05-19 6:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-19 6:25 Kernel connector Evgeniy Polyakov
2005-05-19 6:25 ` Evgeniy Polyakov
2005-05-19 6:25 ` Evgeniy Polyakov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.