Cesar Ossamu Ida <root@qnx.com> wrote:
Sorry, I got a little confused…
Did you mean I have to develop a filter instead of a converter?
Well, here is what I had thought: I need to develop a program that talks
directly to the Ethernet layer, but as I think this is not possible, I
have to develop a protocol (or a converter) that lays between the program
and the Ethernet layer. Am I wrong? Do you have any idea on how can I do
that?
If you want, you can create your own “protocol X”, and a “X-EN”
converter, to use it with exist driver.
If you just want to pump data into driver, you can create “en-en filter”,
which can sends packet down to driver, and could receive packet
from driver.
A “filter module” is almost the same as a driver (_REG_PRODUCER_UP),
except while register, you regist as a “_REG_FILTER_ABOVE”, with
top/bot_type as “en”.
-xtang
On Wed, 19 Jun 2002, Sreekanth wrote:
You should look at developing a filter above the ethernet layer.You will be
able to generate packets which will go on ethernet frames.But then you have
to develop your protocol to do the ARP for your protocol.
Sreekanth
“Adam Mallory” <> amallory@qnx.com> > wrote in message
news:aeq5pc$dh0$> 1@nntp.qnx.com> …
“Cesar Ossamu Ida” <> root@qnx.com> > wrote in message
news:> Pine.NTO.4.21.0206181737240.831536-100000@minardi.inf.ufrgs.br> …
I need to communicate two computers over Ethernet. I don’t need all the
overhead of tcp or ip protocols. So, I have to write my own protocol
layer, right? But I have looked for about this subject on documentations
and I haven’t found anything about protocol development (just about
driver
development). I think I need to use raw sockets… So, could anyone give
me a help on where to start?
Raw sockets still involve IP - That said, IP isn’t that much overhead and
using it means that other products could potentially interact with it, or
at
least route it. There are only very few circumstances where IP would be
more of a hinderance than a help in the development cycle.
–
Cheers,
Adam
QNX Software Systems Ltd.
[ > amallory@qnx.com > ]
With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <> pschon@baste.magibox.net
\