[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] libpcap



On 09/10/11 00:19, Jo Even Skarstein wrote:
> On Sat, 2011-09-10 at 00:59 +0200, m0n0 wrote:
>
>> Altough this doesn't really answer your question, do you know of tcpdump
>> for freeMiNT?
>> It is capable of capturing ethernet packets and maybe that is important
>> for you?
> I know about tcpdump, but it's not suitable for this project. We're
> making a program that interacts with an ethernet device that doesn't
> understand TCP/IP.
>
>> Is libpacap really able to send Ethernet packets? I mean it's an lib for
>> packet capturing, isn't it?
> libpcap is able to send ethernet packets. It's working fine on OSX, but
> the MiNT-port seems to be too old.
>
> http://www.manpagez.com/man/3/pcap_inject/
>
> Btw. maybe using /dev/bpf directly will allow me to send ethernet
> packets?

I wouldn't bank on it. In my trials earlier this year, the bpf code is
pretty broken.

So YMMV.

Alan.