Pirabhu Raman wrote:
> Hi,
>
> I am trying to learn raw sockets and I have a specific question. I want to
> send a custom Ethernet packet (non IP, ARP, PUP, RARP) to a specific
> destination (whose address I don't know) through broadcast.
>
> What do I need to do to process this packet at destination? Do I need to add
> fields in netpacket/packet.h etc or can I simply receive all raw Ethernet
> packets and process the one I need while ignoring other packets?
>
> How will this packet be processed at other nodes in the network. Will the
> device drivers of other nodes ignore the packet silently or will they
> report/log any unknown packet received errors?
>
> Thanks in advance for any pointers.
>
> Pirabhu
IP is networking protocol over Ethernet (on an Ethernet lan) and can
co-exist with other networking protocols harmoniously.
Google around for "raw Ethernet" and "programming ethernet frames"..
....amongst the links this came straight up
http://www.landshut.org/bnla01/membe...raw/index.html
B