2010/5/7 erik quanstrom <quans...@quanstro.net>: >> interesting. what's the advantage of the tap device? >> is the code available online? > > duh. sorry. missed the attachment. having peeked > at the code, do you think that the tap devices is a > complete replacement for the raw socket?
Yes. The tap(4) interface allows you to clone an existing ethernet device on the system, and it's what most virtualization platforms use. I had an ethertap.c in there, but never finished it up. It'll be something that gets done for GSoC this year anyway. --dho > - erik > >