Changeset 61170 in vbox for trunk/src/VBox/Main/include/NetworkAdapterImpl.h
- Timestamp:
- May 24, 2016 4:44:44 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/NetworkAdapterImpl.h
r57694 r61170 7 7 8 8 /* 9 * Copyright (C) 2006-201 5Oracle Corporation9 * Copyright (C) 2006-2016 Oracle Corporation 10 10 * 11 11 * This file is part of VirtualBox Open Source Edition (OSE), as … … 114 114 HRESULT i_switchToNatNetworking(const com::Utf8Str &aNatNetworkName); 115 115 116 typedef std::map<com::Utf8Str, com::Utf8Str> StringsMap;117 118 struct Data119 {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 };152 116 153 117 Machine * const mParent; … … 155 119 const ComObjPtr<NATEngine> mNATEngine; 156 120 157 Backupable< Data>mData;121 Backupable<settings::NetworkAdapter> mData; 158 122 }; 159 123
Note:
See TracChangeset
for help on using the changeset viewer.