[vbox-dev] Set link status for host-only adapter

Ribhi Kamal rbhkamal at gmail.com
Mon Apr 11 15:02:01 GMT 2011


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:

from: src\VBox\HostDrivers\VBoxNetAdp.c
static DECLCALLBACK(bool) vboxNetAdpPortSetActive(PINTNETRUNKIFPORT pIfPort,
bool fActive)

which calls vboxNetAdpSetState (line 91), but what does "state" mean here?

Thanks!

On Mon, Apr 11, 2011 at 4:23 AM, Klaus Espenlaub <klaus.espenlaub at oracle.com
> wrote:

> On 10.04.2011 00:03, Ribhi Kamal wrote:
>
>> Does the virtualbox host-only adapter provide an interface to set its
>> link status?
>>
>
> 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.
>
> Klaus
>
>
>> --
>> -- Ribhi
>>
>
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> http://vbox.innotek.de/mailman/listinfo/vbox-dev
>



-- 
-- Ribhi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20110411/5646a803/attachment.html>


More information about the vbox-dev mailing list