Net and ethernet packet

Hi:
Does anybody know why the QNX will add dest_mac_addr and host_mac_addr in
front of the packet that I want to transmit?
Ex. QNX sent out
ff ff ff ff ff ff 00 aa - 00 12 54 16 ff ff ff ff
ff ff 00 aa 00 12 54 16 - 88 63 11 09 00 00 00 0c
01 01 00 00 …
instead of
ff ff ff ff ff ff 00 aa - 00 12 54 16 88 63 11 09
00 00 00 0c 01 01 00 00 …

How can this be avoid?

Thanks,
Jackie

You left out a lot of details, but let me guess. You are using
the Network Raw Packet interface? You want to send out packets.
You send them out, but you put the dest and host MAC addresses
on your packet?

Ok, assuming that is the case, you probably don’t want to send
QNX the Ethernet header. The OS is responsible for this.


Previously, Jackie wrote in qdn.public.qnx4:

Hi:
Does anybody know why the QNX will add dest_mac_addr and host_mac_addr in
front of the packet that I want to transmit?
Ex. QNX sent out
ff ff ff ff ff ff 00 aa - 00 12 54 16 ff ff ff ff
ff ff 00 aa 00 12 54 16 - 88 63 11 09 00 00 00 0c
01 01 00 00 …
instead of
ff ff ff ff ff ff 00 aa - 00 12 54 16 88 63 11 09
00 00 00 0c 01 01 00 00 …

How can this be avoid?

Thanks,
Jackie
\


Mitchell Schoenbrun --------- maschoen@pobox.com