Re: /dev/tun and raw sockets; emulators loose
From: Auke Kok
Date: Thu May 11 2006 - 11:10:33 EST
Brad Parker wrote:
[snip]
So, I was wondering if I'm missing something obvious.
In a perfect world the emulator application could co-exist on the local
ethernet interface *and* talk to the host computer as if it were another
host on the same wire.
any suggestions?
Hi,
did you check out how qemu solves this? they basically give you a virtual
device in the emulator that offers dhcp and packets going out originate as
coming from the application (qemu) itself. Since it's open code you could take
a peek. I don't think any AF_PACKET code is involved in this, it might not be
what you want.
Auke
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html