Changeset 11075 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Aug 2, 2008 6:33:24 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 33984
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DrvIntNet.cpp
r11059 r11075 757 757 "SendBufferSize\0" 758 758 "RestrictAccess\0" 759 "SharedMacOnWire\0" 759 760 "IsService\0")) 760 761 return VERR_PDM_DRVINS_UNKNOWN_CFG_VALUES; … … 833 834 N_("Configuration error: Failed to get the \"RestrictAccess\" value")); 834 835 OpenReq.fFlags = fRestrictAccess ? 0 : INTNET_OPEN_FLAGS_PUBLIC; 836 837 /** @cfgm{SharedMacOnWire, boolean, false} 838 * Whether to shared the MAC address of the host interface when using the wire. When 839 * attaching to a wireless NIC this option is usally a requirement. 840 */ 841 bool fSharedMacOnWire; 842 rc = CFGMR3QueryBoolDef(pCfgHandle, "SharedMacOnWire", &fSharedMacOnWire, false); 843 if (VBOX_FAILURE(rc)) 844 return PDMDRV_SET_ERROR(pDrvIns, rc, 845 N_("Configuration error: Failed to get the \"SharedMacOnWire\" value")); 846 if (fSharedMacOnWire) 847 OpenReq.fFlags |= INTNET_OPEN_FLAGS_SHARED_MAC_ON_WIRE; 835 848 836 849 /** @cfgm{ReceiveBufferSize, uint32_t, 234 KB}
Note:
See TracChangeset
for help on using the changeset viewer.