Re: raw ethernet packets
From: Barry Margolin (barmar_at_alum.mit.edu)
Date: 12/14/04
- Next message: lucy: "how to program in Linux to know the MAC address?"
- Previous message: mjt: "Re: strange memory mangagement"
- In reply to: Grant Edwards: "Re: raw ethernet packets"
- Next in thread: Grant Edwards: "Re: raw ethernet packets"
- Reply: Grant Edwards: "Re: raw ethernet packets"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 ***
- Next message: lucy: "how to program in Linux to know the MAC address?"
- Previous message: mjt: "Re: strange memory mangagement"
- In reply to: Grant Edwards: "Re: raw ethernet packets"
- Next in thread: Grant Edwards: "Re: raw ethernet packets"
- Reply: Grant Edwards: "Re: raw ethernet packets"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|