VirtualBox

Changeset 36730 in vbox for trunk/src/VBox/Main/src-server


Ignore:
Timestamp:
Apr 19, 2011 2:31:40 PM (14 years ago)
Author:
vboxsync
Message:

Solaris/NetFltBow: support for VNIC templates and VLANs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/solaris/NetIf-solaris.cpp

    r36248 r36730  
    9393        SolarisNICMap.insert(NICPair("spwr", "SMC EtherPower II 10/100 (9432) Ethernet"));
    9494        SolarisNICMap.insert(NICPair("vboxnet", "VirtualBox Host Ethernet"));
     95        SolarisNICMap.insert(NICPair("vboxvnic_template", "VirtualBox Virtual Network Interface Template"));
    9596        SolarisNICMap.insert(NICPair("vlan", "Virtual LAN Ethernet"));
    9697        SolarisNICMap.insert(NICPair("vnic", "Virtual Network Interface Ethernet"));
     
    211212     */
    212213    if (!strncmp(pszIface, "ip.tun", 6))
     214        return _B_FALSE;
     215
     216    /*
     217     * Skip our own dynamic VNICs but don't skip VNIC templates.
     218     * These names originate from VBoxNetFltBow-solaris.c, hardcoded here for now.
     219     */
     220    if (    strncmp(pszIface, "vboxvnic_template", 17)
     221        && !strncmp(pszIface, "vboxvnic", 8))
    213222        return _B_FALSE;
    214223
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