<div><div>I'm just going through the code slowly to (hopefully) implement an interface to set the link status. Do you mind explaining a little bit what following method does:</div><div><br></div><div>from: src\VBox\HostDrivers\VBoxNetAdp.c</div>

<div>static DECLCALLBACK(bool) vboxNetAdpPortSetActive(PINTNETRUNKIFPORT pIfPort, bool fActive)</div><div><br></div><div>which calls vboxNetAdpSetState (line 91), but what does "state" mean here?</div><div><br>
</div>
<div>Thanks!</div><div><br><div class="gmail_quote">On Mon, Apr 11, 2011 at 4:23 AM, Klaus Espenlaub <span dir="ltr"><<a href="mailto:klaus.espenlaub@oracle.com">klaus.espenlaub@oracle.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">On 10.04.2011 00:03, Ribhi Kamal wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Does the virtualbox host-only adapter provide an interface to set its<br>
link status?<br>
</blockquote>
<br></div>
You mean disconnecting it from the host? Don't think this exists right now, as it would be more or less the same as switching to Internal Networking... unlike for VMs, where one can control whether the cable is plugged in for each NIC.<br>


<br>
Klaus<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
--<br>
-- Ribhi<br>
</blockquote>
<br>
_______________________________________________<br>
vbox-dev mailing list<br>
<a href="mailto:vbox-dev@virtualbox.org" target="_blank">vbox-dev@virtualbox.org</a><br>
<a href="http://vbox.innotek.de/mailman/listinfo/vbox-dev" target="_blank">http://vbox.innotek.de/mailman/listinfo/vbox-dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>-- Ribhi<br>
</div></div>