<!doctype html public “-//w3c//dtd html 4.0 transitional//en”>
Thanks for the information,
however, although converters can't have the same type, it seems that
they still can receive the same packet.
for example,
the ip_en converter and the ppp_en converter are different, but their
bottem type are the same.
(especially when both them register the pattern of received packet
with _BYTE_PAT_ALL)
or
if there are (ip_en converter) and (ip_ppp converter + ppp producer
+ ppp_en converter) on the same computer.
The ip producer transmits a packet down, then which path will be selected?
I'm just confused by these kind of conditions. What principle does io-net
use?
Adam Mallory wrote:
Codante <> wrote in
news:<3C91F266.A67CAEAD@hotmail.com>:
>
>
> Some little (or maybe trvial) questions.
>
If I have two modules(converter or producer) which register
the same
> bottom paket type,
>
then who will get the up-ward paket?
>
for example, if there are two en-ip converter loaded, and
en0
> transfer up a ethernet paket. Then which converter will receive this
> paket?
And when I view the files at /dev/io-net, some of them
are
> tailed with the digital (e.g. en0, ip0), but some are not(e.g. ip_ppp).
>
Can I assign it when I load/register the module?
>
I guess that the filter and producer will be tailed with the
> digita, but the converter will not. Is it right?
>
Thanks.
You can't have two converters of the same (ie en->ip) at the same time.
You could have two converters, like en->ip and en->xyz. In that case,
io-
net would give the packet from the en producer to the filter which
matched
the en type it wants (which I suppose could be all packets).
--
Cheers,
Adam
QNX Software Systems Ltd.
[ ]
---------------------------------------------------
With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
--Peter J. Schoenster <>