netdev
[Top] [All Lists]

Re: af_packet bug?

To: Lars Brinkhoff <lars.spam@xxxxxxxxxx>
Subject: Re: af_packet bug?
From: Andi Kleen <ak@xxxxxxx>
Date: Tue, 30 Oct 2001 16:44:11 +0100
Cc: kuznet@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <85lmht1sri.fsf@xxxxxxxxxxxxxxx>; from lars.spam@xxxxxxxxxx on Tue, Oct 30, 2001 at 08:39:13AM +0100
References: <200110291843.VAA01641@xxxxxxxxxxxxx> <85lmht1sri.fsf@xxxxxxxxxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx
User-agent: Mutt/1.3.16i
> The emulated machine communicates with other network hosts by sending
> ethernet packets using af_packet.  But since this doesn't work for
> talking to the host machine the emulator is running on, the emulator
> must strip off the ethernet header and send those packets to the
> loopback device.  Does that sound like a plausible solution?

The tun and/or ethertap devices have been exactly designed to make such
things possible.


-Andi

<Prev in Thread] Current Thread [Next in Thread>