VirtualBox

Changeset 19233 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Apr 28, 2009 10:16:37 AM (16 years ago)
Author:
vboxsync
Message:

#2946 & #2954: Main API now supports dynamic adding/removing network adapters on all platforms. Linux backend.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/netif.h

    r18014 r19233  
    2929#define VBOXNET_IPV4ADDR_DEFAULT "192.168.56.1"
    3030#define VBOXNET_IPV4MASK_DEFAULT "255.255.255.0"
     31
     32#define VBOXNET_MAX_SHORT_NAME 50
    3133
    3234#if 1
     
    6769    NETIFSTATUS    enmStatus;
    6870    RTUUID         Uuid;
    69     char           szShortName[50];
     71    char           szShortName[VBOXNET_MAX_SHORT_NAME];
    7072    char           szName[1];
    7173} NETIFINFO;
     
    8486int NetIfRemoveHostOnlyNetworkInterface (VirtualBox *pVbox, IN_GUID aId, IHostNetworkInterface **aHostNetworkInterface, IProgress **aProgress);
    8587int NetIfGetConfig(HostNetworkInterface * pIf, NETIFINFO *);
     88int NetIfGetConfigByName(IN_BSTR aName, NETIFINFO *pInfo);
    8689int NetIfDhcpRediscover(VirtualBox *pVbox, HostNetworkInterface * pIf);
    8790
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette