Gary,<div><br></div><div>It's not clear to me what you want to do.</div><div><br></div><div>From what I understand, you have an emulator running inside a VM (what's the operating system of that VM?) and you want to port that emulator to a native Linux application. Is that right?</div>

<div><br><br><div class="gmail_quote">On Thu, Jul 18, 2013 at 5:11 PM, Gary Palter <span dir="ltr"><<a href="mailto:palter@clozure.com" target="_blank">palter@clozure.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div style="word-wrap:break-word">Well, I'm back.<div><br></div><div><div><div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-wrap:break-word;word-spacing:0px">

<span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">

<span style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">

<div style="word-wrap:break-word"><div>My client has informed me that the alternatives suggested below aren't acceptable.  They want to use the VirtualBox network drivers.  How can I use those drivers without creating a VirtualBox VM?  Any pointers to documentation or sample code that will show me what I need would be most helpful.</div>

<div><br></div><div>Thank you,</div><div><br></div><div>  - Gary Palter</div><div>    Principal Software Engineer</div><div>    Clozure Associates</div><div><br></div><div><br></div></div></div></span></div></span></div>
</div>
<div><div>On Dec 5, 2012, at 6:59 PM, Ivo Smits <<a href="mailto:Ivo@UFO-Net.nl" target="_blank">Ivo@UFO-Net.nl</a>> wrote:</div><br><blockquote type="cite">Just a few ideas which are probably somewhat easier:<br>- Use libpcap to capture and inject network packets (useable directly <br>

from userspace, you will need to handle packet filtering yourself but <br>it's easy)<br>- Use a tap device and a linux kernel network bridge (the tap device <br>will work like a real switch port, with some filtering provided by the <br>

network bridge)<br>- Use VDE (should be easy to use, can connect to host network <br>interfaces, tap devices or act as a NAT gateway)<br><br>Ivo Smits<br><br>Op <a href="tel:5-12-2012%2023" value="+34512201223" target="_blank">5-12-2012 23</a>:17, Gary Palter schreef:<br>

<blockquote type="cite">I am working on a project for a client which involves migrating a 20+ year old application to Linux.  (All I can say about the application is that it's an emulator for an almost 30 year old computer architecture.)<br>

<br>The guest's operating system is aware that it's running in a virtual machine.  For network access, it communicates with the emulator through a set of queues to send and receive Ethernet packets.  In the original emulator, we attach a packet filter to the Ethernet interface in order to inject packets onto the wire and grab packets intended for the guest.<br>

<br>For the new emulator, we want to use the VirtualBox network drivers to setup a bridged interface.  I've spent several hours reading through the source code and, frankly, I'm lost.<br><br>How, exactly, does VirtualBox setup a bridged interface?  (I know that VboxNetFlt driver is involved but I don't know how it's hooked up.)  How is ARP handled?  How would I use the VirtualBox drivers in our emulator, keeping in mind that there's no VBox guest involved?<br>

<br>Thank you for your assistance,<br><br>  - Gary Palter<br>    Principal Software Engineer<br>    Clozure Associates<br><br><br>_______________________________________________<br>vbox-dev mailing list<br><a href="mailto:vbox-dev@virtualbox.org" target="_blank">vbox-dev@virtualbox.org</a><br>

<a href="https://www.virtualbox.org/mailman/listinfo/vbox-dev" target="_blank">https://www.virtualbox.org/mailman/listinfo/vbox-dev</a><br><br></blockquote><br><br>_______________________________________________<br>vbox-dev mailing list<br>

<a href="mailto:vbox-dev@virtualbox.org" target="_blank">vbox-dev@virtualbox.org</a><br><a href="https://www.virtualbox.org/mailman/listinfo/vbox-dev" target="_blank">https://www.virtualbox.org/mailman/listinfo/vbox-dev</a><br>

</blockquote></div><br></div></div><br>_______________________________________________<br>
vbox-dev mailing list<br>
<a href="mailto:vbox-dev@virtualbox.org">vbox-dev@virtualbox.org</a><br>
<a href="https://www.virtualbox.org/mailman/listinfo/vbox-dev" target="_blank">https://www.virtualbox.org/mailman/listinfo/vbox-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Pau Garcia i Quiles<br><a href="http://www.elpauer.org">http://www.elpauer.org</a><br>(Due to my workload, I may need 10 days to answer)
</div>