Re: raw ethernet packets

From: Barry Margolin (barmar_at_alum.mit.edu)
Date: 12/14/04


Date: Mon, 13 Dec 2004 19:14:09 -0500

In article <41be18a8$0$80336$a1866201@visi.com>,
 Grant Edwards <grante@visi.com> wrote:

> On 2004-12-13, Pirabhu Raman <pirabhur@ufl.edu> wrote:
>
> > What do I need to do to process this packet at destination?
>
> If there's a specific Ethernet protocol number you're using,
> you can specify the protocol number when you create the socket.
> Then that socket will receive all packets with that protocol
> number.

The protocol number specifies an *IP* protocol, not an Ethernet
ethertype.

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***


Relevant Pages

  • Re: Sniffer Cant see cluster traffic
    ... > protocol and cluster specific multicast MAC address, ... > node specific source MAC address. ... > is a multi-cast packet or a directed packet. ... Yep and that is solely at the ethernet packet level. ...
    (comp.os.vms)
  • Is this windows media 2 normal , request by firewall
    ... Protocol: Raw Ethernet ... Ethernet II (Packet Length: 44) ... Address Resolution Protocol ... Outgoing Mail is AVG VIRUS FREE, checked by AVG 6.0 Checked by AVG anti-virus system. ...
    (microsoft.public.windowsmedia)
  • WMPLAYER2 ,Have I anything to worry about, as it wants my firewall to send this...
    ... Protocol: Raw Ethernet ... Ethernet II (Packet Length: 44) ... Address Resolution Protocol ... Outgoing Mail is AVG VIRUS FREE, checked by AVG 6.0 Checked by AVG anti-virus system. ...
    (microsoft.public.windowsmedia.player)
  • Re: arbitrary packets on an ethernet network
    ... has a very small memory footprint. ... But this environment isn't really good at doing ethernet in general... ... Ethernet headers are used to find out the protocol the packet transports, ...
    (comp.os.linux.embedded)
  • Re: raw sockets
    ... > PB> read about the protocol parameter of socket. ... > then we'll access IP packet only, ... Nobody can fix the economy. ...
    (comp.unix.programmer)