儲存庫 vbox 的更動 47861
- 時間撮記:
- 2013-8-20 上午03:15:35 (11 年 以前)
- 位置:
- trunk/src/VBox/Main
- 檔案:
-
- 修改 3 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Main/idl/VirtualBox.xidl
r47858 r47861 1391 1391 --> 1392 1392 <!-- This is experimental interface to LWIP based NAT server --> 1393 1394 <enum 1395 name="NATNetworkServiceType" 1396 uuid="d19dcba6-9bec-43d5-93f2-75d25a446aa4" 1397 > 1398 <const name="Gateway" value="1"/> 1399 <const name="Dhcp" value="2"/> 1400 <const name="Tftp" value="3"/> 1401 <const name="DnsProxy" value="4"/> 1402 </enum> 1403 1393 1404 <interface name="INATNetwork" extends="$unknown" 1394 uuid=" 03DFD6F7-1B78-48A3-8345-C785281E9523"1405 uuid="d09da50a-ab33-4f83-a879-00f5b74e8dfc" 1395 1406 wsmap="managed"> 1396 1407 <attribute name="networkName" type="wstring"> … … 1438 1449 </desc> 1439 1450 </attribute> 1451 <attribute name="localMappings" type="wstring" readonly="yes" safearray="yes"> 1452 <desc>Array of mappings (hostid,offset) where hostid is network id 127/8, e.g. 1453 ("0.1.1;4") maps 127.0.1.1 to networkid + 4. 1454 </desc> 1455 </attribute> 1456 1457 <method name="addLocalMapping"> 1458 <desc> 1459 </desc> 1460 <param name="hostid" type="wstring" dir="in"/> 1461 <param name="offset" type="long" dir="in"/> 1462 </method> 1463 1464 <method name="getOffsetForService"> 1465 <param name="service" type="NATNetworkServiceType" dir="in"/> 1466 <param name="offset" type="long" dir="return"/> 1467 </method> 1468 1469 <method name="setOffsetForService"> 1470 <param name="service" type="NATNetworkServiceType" dir="in"/> 1471 <param name="offset" type="long" dir="in"/> 1472 </method> 1473 1440 1474 <attribute name="portForwardRules6" type="wstring" readonly="yes" safearray="yes"> 1441 1475 <desc>Array of NAT port-forwarding rules in string representation, in the -
trunk/src/VBox/Main/include/NATNetworkImpl.h
r47018 r47861 107 107 STDMETHOD(COMSETTER(NeedDhcpServer))(BOOL aEnabled); 108 108 109 STDMETHOD(COMGETTER(LocalMappings))(ComSafeArrayOut(BSTR, aLocalMappings)); 110 STDMETHOD(AddLocalMapping)(IN_BSTR aHostId, LONG aOffset); 111 STDMETHOD(GetOffsetForService)(NATNetworkServiceType_T service, LONG *aOffset); 112 STDMETHOD(SetOffsetForService)(NATNetworkServiceType_T service, LONG aOffset); 113 109 114 STDMETHOD(COMGETTER(PortForwardRules4))(ComSafeArrayOut(BSTR, aPortForwardRules4)); 110 115 STDMETHOD(COMGETTER(PortForwardRules6))(ComSafeArrayOut(BSTR, aPortForwardRules6)); -
trunk/src/VBox/Main/src-server/NATNetworkImpl.cpp
r47691 r47861 474 474 #endif 475 475 return rc; 476 } 477 478 STDMETHODIMP NATNetwork::COMGETTER(LocalMappings)(ComSafeArrayOut(BSTR, aLocalMappings)) 479 { 480 return E_NOTIMPL; 481 } 482 483 STDMETHODIMP NATNetwork::AddLocalMapping(IN_BSTR aHostId, LONG aOffset) 484 { 485 return E_NOTIMPL; 486 } 487 488 STDMETHODIMP NATNetwork::GetOffsetForService(NATNetworkServiceType_T service, LONG *aOffset) 489 { 490 return E_NOTIMPL; 491 } 492 493 STDMETHODIMP NATNetwork::SetOffsetForService(NATNetworkServiceType_T service, LONG aOffset) 494 { 495 return E_NOTIMPL; 476 496 } 477 497
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器