VirtualBox

Ignore:
Timestamp:
May 24, 2016 4:44:44 PM (9 years ago)
Author:
vboxsync
Message:

8238 VBoxSVC settings - NetworkAdapterImpl

File:
1 edited

Legend:

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

    r57694 r61170  
    77
    88/*
    9  * Copyright (C) 2006-2015 Oracle Corporation
     9 * Copyright (C) 2006-2016 Oracle Corporation
    1010 *
    1111 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    114114    HRESULT i_switchToNatNetworking(const com::Utf8Str &aNatNetworkName);
    115115
    116     typedef std::map<com::Utf8Str, com::Utf8Str> StringsMap;
    117 
    118     struct Data
    119     {
    120         Data() : mSlot(0),
    121                  mEnabled(FALSE),
    122                  mAttachmentType(NetworkAttachmentType_Null),
    123                  mCableConnected(TRUE),
    124                  mLineSpeed(0),
    125                  mPromiscModePolicy(NetworkAdapterPromiscModePolicy_Deny),
    126                  mTraceEnabled(FALSE),
    127                  mBridgedInterface("") /* cannot be null */,
    128                  mHostOnlyInterface("") /* cannot be null */,
    129                  mNATNetwork("") /* cannot be null */,
    130                  mBootPriority(0)
    131         {}
    132 
    133         NetworkAdapterType_T mAdapterType;
    134         ULONG mSlot;
    135         BOOL mEnabled;
    136         com::Utf8Str mMACAddress;
    137         NetworkAttachmentType_T mAttachmentType;
    138         BOOL mCableConnected;
    139         ULONG mLineSpeed;
    140         NetworkAdapterPromiscModePolicy_T mPromiscModePolicy;
    141         BOOL mTraceEnabled;
    142         com::Utf8Str mTraceFile;
    143         com::Utf8Str mBridgedInterface;
    144         com::Utf8Str mHostOnlyInterface;
    145         com::Utf8Str mInternalNetwork;
    146         com::Utf8Str mNATNetwork;
    147         com::Utf8Str mGenericDriver;
    148         StringsMap mGenericProperties;
    149         ULONG mBootPriority;
    150         com::Utf8Str mBandwidthGroup;
    151     };
    152116
    153117    Machine * const     mParent;
     
    155119    const ComObjPtr<NATEngine> mNATEngine;
    156120
    157     Backupable<Data>    mData;
     121    Backupable<settings::NetworkAdapter> mData;
    158122};
    159123
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