Changeset 27911 in vbox
- Timestamp:
- Mar 31, 2010 2:53:24 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 59601
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/idl/VirtualBox.xidl
r27898 r27911 14025 14025 wsmap="managed" 14026 14026 > 14027 <desc>Interface for managing a NAT engine which is used with a virtual machine. This allows for changing 14028 NAT behavior such as port-forwarding rules. This interface is used in the <link to="INetworkAdapter::natDriver" /> attribute.</desc> 14027 <desc>Interface for managing a NAT engine which is used with a virtual machine. This 14028 allows for changing NAT behavior such as port-forwarding rules. This interface is 14029 used in the <link to="INetworkAdapter::natDriver" /> attribute.</desc> 14029 14030 <attribute name="network" type="wstring"> 14030 <desc>The network attribute of the NAT engine (the same value used with built-in DHCP server to fill corresponding fields of DHCP leases).</desc> 14031 <desc>The network attribute of the NAT engine (the same value is used with built-in 14032 DHCP server to fill corresponding fields of DHCP leases).</desc> 14031 14033 </attribute> 14032 14034 <attribute name="hostIP" type="wstring"> … … 14036 14038 </attribute> 14037 14039 <attribute name="tftpPrefix" type="wstring"> 14038 <desc>TFTP prefix attribute which is used with the built-in DHCP server to fill corresponding fields of DHCP leases.</desc> 14040 <desc>TFTP prefix attribute which is used with the built-in DHCP server to fill 14041 the corresponding fields of DHCP leases.</desc> 14039 14042 </attribute> 14040 14043 <attribute name="tftpBootFile" type="wstring"> 14041 <desc>TFTP boot file attribute which is used with the built-in DHCP server to fill corresponding fields of DHCP leases.</desc> 14044 <desc>TFTP boot file attribute which is used with the built-in DHCP server to fill 14045 the corresponding fields of DHCP leases.</desc> 14042 14046 </attribute> 14043 14047 <attribute name="tftpNextServer" type="wstring"> 14044 <desc>TFTP server attribute which is used with the built-in DHCP server to fill corresponding fields of DHCP leases. 14048 <desc>TFTP server attribute which is used with the built-in DHCP server to fill 14049 the corresponding fields of DHCP leases. 14045 14050 <note>The preferred form is IPv4 addresses.</note> 14046 14051 </desc> … … 14050 14055 </attribute> 14051 14056 <attribute name="dnsProxy" type="boolean"> 14052 <desc>Whether the DHCP server (and the DNS traffic by NAT) should pass the address of the DNS proxy and process traffic using14053 14057 <desc>Whether the DHCP server (and the DNS traffic by NAT) should pass the address 14058 of the DNS proxy and process traffic using DNS servers registerd on the host.</desc> 14054 14059 </attribute> 14055 14060 <attribute name="dnsUseHostResolver" type="boolean"> 14056 <desc>Whether the DHCP server (and the DNS traffic by NAT) should pass the address of the DNS proxy and process traffic using14057 14061 <desc>Whether the DHCP server (and the DNS traffic by NAT) should pass the address 14062 of the DNS proxy and process traffic using the host resolver mechanism.</desc> 14058 14063 </attribute> 14059 14064 <attribute name="redirects" type="wstring" readonly="yes" safearray="yes"> 14060 <desc>Array of NAT port-forwarding rules in string representation, in the following format: "name,protocol id,host ip,host port,guest ip,guest port".</desc> 14065 <desc>Array of NAT port-forwarding rules in string representation, in the following 14066 format: "name,protocol id,host ip,host port,guest ip,guest port".</desc> 14061 14067 </attribute> 14062 14068 <method name="setNetworkSettings"> 14063 14069 <desc>Sets network configuration of the NAT engine.</desc> 14064 14070 <param name="mtu" type="unsigned long" dir="in"> 14065 <desc>MTU of the NAT engine.</desc>14071 <desc>MTU (maximum transmission unit) of the NAT engine in bytes.</desc> 14066 14072 </param> 14067 14073 <param name="sockSnd" type="unsigned long" dir="in"> 14068 <desc>Capacity of the socket send buffer when creating a new socket.</desc>14074 <desc>Capacity of the socket send buffer in bytes when creating a new socket.</desc> 14069 14075 </param> 14070 14076 <param name="sockRcv" type="unsigned long" dir="in"> 14071 <desc>Capacity of the socket receive buffer when creating a new socket.</desc>14077 <desc>Capacity of the socket receive buffer in bytes when creating a new socket.</desc> 14072 14078 </param> 14073 14079 <param name="TcpWndSnd" type="unsigned long" dir="in"> 14074 <desc>Initial size of the NAT engine's sending TCP window when establishing a new TCP connection.</desc> 14080 <desc>Initial size of the NAT engine's sending TCP window in bytes when 14081 establishing a new TCP connection.</desc> 14075 14082 </param> 14076 14083 <param name="TcpWndRcv" type="unsigned long" dir="in"> 14077 <desc>Initial size of the NAT engine's receiving TCP window when establishing a new TCP connection.</desc> 14084 <desc>Initial size of the NAT engine's receiving TCP window in bytes when 14085 establishing a new TCP connection.</desc> 14078 14086 </param> 14079 14087 </method> 14080 14088 <method name="getNetworkSettings"> 14081 <desc>Returns network configuration of NAT engine. See <link to="#setNetworkSettings" /> for parameter descriptions.</desc> 14089 <desc>Returns network configuration of NAT engine. See <link to="#setNetworkSettings" /> 14090 for parameter descriptions.</desc> 14082 14091 <param name="mtu" type="unsigned long" dir="out" /> 14083 14092 <param name="sockSnd" type="unsigned long" dir="out" /> … … 14089 14098 <desc>Adds a new NAT port-forwarding rule.</desc> 14090 14099 <param name="name" type="wstring" dir="in"> 14091 <desc>The name of the rule. An empty name is acceptable, in which case the NAT engine auto-generates one using the other parameters.</desc> 14100 <desc>The name of the rule. An empty name is acceptable, in which case the NAT engine 14101 auto-generates one using the other parameters.</desc> 14092 14102 </param> 14093 14103 <param name="proto" type="NATProtocol" dir="in"> … … 14095 14105 </param> 14096 14106 <param name="hostIp" type="wstring" dir="in"> 14097 <desc>IP of the host interface to which the rule should apply. An empty ip address is acceptable, in which case the NAT engine binds the handling socket to any interface.</desc> 14107 <desc>IP of the host interface to which the rule should apply. An empty ip address is 14108 acceptable, in which case the NAT engine binds the handling socket to any interface.</desc> 14098 14109 </param> 14099 14110 <param name="hostPort" type="unsigned short" dir="in"> … … 14101 14112 </param> 14102 14113 <param name="guestIp" type="wstring" dir="in"> 14103 <desc>The IP address of the guest which the NAT engine will forward matching packets to. An empty IP address is acceptable, in which case the NAT engine will forward packets to the first DHCP lease (x.x.x.15).</desc> 14114 <desc>The IP address of the guest which the NAT engine will forward matching packets 14115 to. An empty IP address is acceptable, in which case the NAT engine will forward 14116 packets to the first DHCP lease (x.x.x.15).</desc> 14104 14117 </param> 14105 14118 <param name="guestPort" type="unsigned short" dir="in">
Note:
See TracChangeset
for help on using the changeset viewer.