Bruno Randolf wrote:
>
> hi there!
>
> can anybody here tell me how can i send and receive ethernet packets
> directly on layer 2 under linux?
[snip]
> any other suggsetions?
> help would be greatly appreciated!
>
> Br1
This was my problem some time ago, too. As suggested, I started with
pcap
hi there!
can anybody here tell me how can i send and receive ethernet packets
directly on layer 2 under linux?
i need that for the following project: one linux machine, two ethernet
nics. we want to some kind of bridging function between the two nics with
the additional features of contro
Of course you can use socket packet as someone pointed out.
The other way is to use libpcap -- if you want portability.
I have patches against libpcap for this but have only tested on Linux and
someone else has verified that they work on FreeBSD.
take a look at:
http://www.cyberus.ca/~hadi/pcap
Hi Bruno,
there's a packet capture library called libpcap which
supportsthe reading of packets of the datalink layer. It is provided in
source code at the following URL ftp://ftp.ee.lbl.gov/libpcap.tar.Z.
Without too much problem you could also be able to modify it to add the
suppor
Hi Bruno,
there's a packet capture library called libpcap which supports
the reading of packets of the datalink layer. It is provided in source code at
the following URL ftp://ftp.ee.lbl.gov/libpcap.tar.Z. Without too much problem
you should also be able to modify it to add the su
hi there!
can anybody here tell me how can i send and receive ethernet packets
directly on layer 2 under linux?
i need that for the following project: one linux machine, two ethernet
nics. we want to some kind of bridging function between the two nics with
the additional features of controlling
> hi there!
>
> can anybody here tell me how can i send and receive ethernet packets
> directly on layer 2 under linux?
I'm not an expert on the subject, so i can't say if you are looking at
your problem in a sensible way, but i am using the following to open
a socket for reading packets from
hi there!
can anybody here tell me how can i send and receive ethernet packets
directly on layer 2 under linux?
i need that for the following project: one linux machine, two ethernet
nics. we want to some kind of bridging function between the two nics with
the additional features of controlling