Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

373 lines
13 KiB

  1. <?xml version="1.0"?>
  2. <scpd xmlns="urn:schemas-upnp-org:service-1-0">
  3. <specVersion>
  4. <major>1</major>
  5. <minor>0</minor>
  6. </specVersion>
  7. <actionList>
  8. <action>
  9. <name>SetConnectionType</name>
  10. <argumentList>
  11. <argument>
  12. <name>NewConnectionType</name>
  13. <direction>in</direction>
  14. <relatedStateVariable>ConnectionType</relatedStateVariable>
  15. </argument>
  16. </argumentList>
  17. </action>
  18. <action>
  19. <name>GetConnectionTypeInfo</name>
  20. <argumentList>
  21. <argument>
  22. <name>NewConnectionType</name>
  23. <direction>out</direction>
  24. <relatedStateVariable>ConnectionType</relatedStateVariable>
  25. </argument>
  26. <argument>
  27. <name>NewPossibleConnectionTypes</name>
  28. <direction>out</direction>
  29. <relatedStateVariable>PossibleConnectionTypes</relatedStateVariable>
  30. </argument>
  31. </argumentList>
  32. </action>
  33. <action>
  34. <name>RequestConnection</name>
  35. </action>
  36. <action>
  37. <name>ForceTermination</name>
  38. </action>
  39. <action>
  40. <name>GetStatusInfo</name>
  41. <argumentList>
  42. <argument>
  43. <name>NewConnectionStatus</name>
  44. <direction>out</direction>
  45. <relatedStateVariable>ConnectionStatus</relatedStateVariable>
  46. </argument>
  47. <argument>
  48. <name>NewLastConnectionError</name>
  49. <direction>out</direction>
  50. <relatedStateVariable>LastConnectionError</relatedStateVariable>
  51. </argument>
  52. <argument>
  53. <name>NewUptime</name>
  54. <direction>out</direction>
  55. <relatedStateVariable>Uptime</relatedStateVariable>
  56. </argument>
  57. </argumentList>
  58. </action>
  59. <action>
  60. <name>GetNATRSIPStatus</name>
  61. <argumentList>
  62. <argument>
  63. <name>NewRSIPAvailable</name>
  64. <direction>out</direction>
  65. <relatedStateVariable>RSIPAvailable</relatedStateVariable>
  66. </argument>
  67. <argument>
  68. <name>NewNATEnabled</name>
  69. <direction>out</direction>
  70. <relatedStateVariable>NATEnabled</relatedStateVariable>
  71. </argument>
  72. </argumentList>
  73. </action>
  74. <action>
  75. <name>GetGenericPortMappingEntry</name>
  76. <argumentList>
  77. <argument>
  78. <name>NewPortMappingIndex</name>
  79. <direction>in</direction>
  80. <relatedStateVariable>PortMappingNumberOfEntries</relatedStateVariable>
  81. </argument>
  82. <argument>
  83. <name>NewRemoteHost</name>
  84. <direction>out</direction>
  85. <relatedStateVariable>RemoteHost</relatedStateVariable>
  86. </argument>
  87. <argument>
  88. <name>NewExternalPort</name>
  89. <direction>out</direction>
  90. <relatedStateVariable>ExternalPort</relatedStateVariable>
  91. </argument>
  92. <argument>
  93. <name>NewProtocol</name>
  94. <direction>out</direction>
  95. <relatedStateVariable>PortMappingProtocol</relatedStateVariable>
  96. </argument>
  97. <argument>
  98. <name>NewInternalPort</name>
  99. <direction>out</direction>
  100. <relatedStateVariable>InternalPort</relatedStateVariable>
  101. </argument>
  102. <argument>
  103. <name>NewInternalClient</name>
  104. <direction>out</direction>
  105. <relatedStateVariable>InternalClient</relatedStateVariable>
  106. </argument>
  107. <argument>
  108. <name>NewEnabled</name>
  109. <direction>out</direction>
  110. <relatedStateVariable>PortMappingEnabled</relatedStateVariable>
  111. </argument>
  112. <argument>
  113. <name>NewPortMappingDescription</name>
  114. <direction>out</direction>
  115. <relatedStateVariable>PortMappingDescription</relatedStateVariable>
  116. </argument>
  117. <argument>
  118. <name>NewLeaseDuration</name>
  119. <direction>out</direction>
  120. <relatedStateVariable>PortMappingLeaseDuration</relatedStateVariable>
  121. </argument>
  122. </argumentList>
  123. </action>
  124. <action>
  125. <name>GetSpecificPortMappingEntry</name>
  126. <argumentList>
  127. <argument>
  128. <name>NewRemoteHost</name>
  129. <direction>in</direction>
  130. <relatedStateVariable>RemoteHost</relatedStateVariable>
  131. </argument>
  132. <argument>
  133. <name>NewExternalPort</name>
  134. <direction>in</direction>
  135. <relatedStateVariable>ExternalPort</relatedStateVariable>
  136. </argument>
  137. <argument>
  138. <name>NewProtocol</name>
  139. <direction>in</direction>
  140. <relatedStateVariable>PortMappingProtocol</relatedStateVariable>
  141. </argument>
  142. <argument>
  143. <name>NewInternalPort</name>
  144. <direction>out</direction>
  145. <relatedStateVariable>InternalPort</relatedStateVariable>
  146. </argument>
  147. <argument>
  148. <name>NewInternalClient</name>
  149. <direction>out</direction>
  150. <relatedStateVariable>InternalClient</relatedStateVariable>
  151. </argument>
  152. <argument>
  153. <name>NewEnabled</name>
  154. <direction>out</direction>
  155. <relatedStateVariable>PortMappingEnabled</relatedStateVariable>
  156. </argument>
  157. <argument>
  158. <name>NewPortMappingDescription</name>
  159. <direction>out</direction>
  160. <relatedStateVariable>PortMappingDescription</relatedStateVariable>
  161. </argument>
  162. <argument>
  163. <name>NewLeaseDuration</name>
  164. <direction>out</direction>
  165. <relatedStateVariable>PortMappingLeaseDuration</relatedStateVariable>
  166. </argument>
  167. </argumentList>
  168. </action>
  169. <action>
  170. <name>AddPortMapping</name>
  171. <argumentList>
  172. <argument>
  173. <name>NewRemoteHost</name>
  174. <direction>in</direction>
  175. <relatedStateVariable>RemoteHost</relatedStateVariable>
  176. </argument>
  177. <argument>
  178. <name>NewExternalPort</name>
  179. <direction>in</direction>
  180. <relatedStateVariable>ExternalPort</relatedStateVariable>
  181. </argument>
  182. <argument>
  183. <name>NewProtocol</name>
  184. <direction>in</direction>
  185. <relatedStateVariable>PortMappingProtocol</relatedStateVariable>
  186. </argument>
  187. <argument>
  188. <name>NewInternalPort</name>
  189. <direction>in</direction>
  190. <relatedStateVariable>InternalPort</relatedStateVariable>
  191. </argument>
  192. <argument>
  193. <name>NewInternalClient</name>
  194. <direction>in</direction>
  195. <relatedStateVariable>InternalClient</relatedStateVariable>
  196. </argument>
  197. <argument>
  198. <name>NewEnabled</name>
  199. <direction>in</direction>
  200. <relatedStateVariable>PortMappingEnabled</relatedStateVariable>
  201. </argument>
  202. <argument>
  203. <name>NewPortMappingDescription</name>
  204. <direction>in</direction>
  205. <relatedStateVariable>PortMappingDescription</relatedStateVariable>
  206. </argument>
  207. <argument>
  208. <name>NewLeaseDuration</name>
  209. <direction>in</direction>
  210. <relatedStateVariable>PortMappingLeaseDuration</relatedStateVariable>
  211. </argument>
  212. </argumentList>
  213. </action>
  214. <action>
  215. <name>DeletePortMapping</name>
  216. <argumentList>
  217. <argument>
  218. <name>NewRemoteHost</name>
  219. <direction>in</direction>
  220. <relatedStateVariable>RemoteHost</relatedStateVariable>
  221. </argument>
  222. <argument>
  223. <name>NewExternalPort</name>
  224. <direction>in</direction>
  225. <relatedStateVariable>ExternalPort</relatedStateVariable>
  226. </argument>
  227. <argument>
  228. <name>NewProtocol</name>
  229. <direction>in</direction>
  230. <relatedStateVariable>PortMappingProtocol</relatedStateVariable>
  231. </argument>
  232. </argumentList>
  233. </action>
  234. <action>
  235. <name>GetExternalIPAddress</name>
  236. <argumentList>
  237. <argument>
  238. <name>NewExternalIPAddress</name>
  239. <direction>out</direction>
  240. <relatedStateVariable>ExternalIPAddress</relatedStateVariable>
  241. </argument>
  242. </argumentList>
  243. </action>
  244. </actionList>
  245. <serviceStateTable>
  246. <stateVariable sendEvents="no">
  247. <name>ConnectionType</name>
  248. <dataType>string</dataType>
  249. <defaultValue>Unconfigured</defaultValue>
  250. </stateVariable>
  251. <stateVariable sendEvents="yes">
  252. <name>PossibleConnectionTypes</name>
  253. <dataType>string</dataType>
  254. <allowedValueList>
  255. <allowedValue>Unconfigured</allowedValue>
  256. <allowedValue>IP_Routed</allowedValue>
  257. <allowedValue>IP_Bridged</allowedValue>
  258. </allowedValueList>
  259. </stateVariable>
  260. <stateVariable sendEvents="yes">
  261. <name>ConnectionStatus</name>
  262. <dataType>string</dataType>
  263. <defaultValue>Unconfigured</defaultValue>
  264. <allowedValueList>
  265. <allowedValue>Unconfigured</allowedValue>
  266. <allowedValue>Connecting</allowedValue>
  267. <allowedValue>Authenticating</allowedValue>
  268. <allowedValue>PendingDisconnect</allowedValue>
  269. <allowedValue>Disconnecting</allowedValue>
  270. <allowedValue>Disconnected</allowedValue>
  271. <allowedValue>Connected</allowedValue>
  272. </allowedValueList>
  273. </stateVariable>
  274. <stateVariable sendEvents="no">
  275. <name>Uptime</name>
  276. <dataType>ui4</dataType>
  277. <defaultValue>0</defaultValue>
  278. <allowedValueRange>
  279. <minimum>0</minimum>
  280. <maximum></maximum>
  281. <step>1</step>
  282. </allowedValueRange>
  283. </stateVariable>
  284. <stateVariable sendEvents="no">
  285. <name>RSIPAvailable</name>
  286. <dataType>boolean</dataType>
  287. <defaultValue>0</defaultValue>
  288. </stateVariable>
  289. <stateVariable sendEvents="no">
  290. <name>NATEnabled</name>
  291. <dataType>boolean</dataType>
  292. <defaultValue>1</defaultValue>
  293. </stateVariable>
  294. <stateVariable sendEvents="yes">
  295. <name>X_Name</name>
  296. <dataType>string</dataType>
  297. </stateVariable>
  298. <stateVariable sendEvents="no">
  299. <name>LastConnectionError</name>
  300. <dataType>string</dataType>
  301. <defaultValue>ERROR_NONE</defaultValue>
  302. <allowedValueList>
  303. <allowedValue>ERROR_NONE</allowedValue>
  304. <allowedValue>ERROR_ISP_TIME_OUT</allowedValue>
  305. <allowedValue>ERROR_COMMAND_ABORTED</allowedValue>
  306. <allowedValue>ERROR_ NOT_ENABLED_FOR_INTERNET</allowedValue>
  307. <allowedValue>ERROR_BAD_PHONE_NUMBER</allowedValue>
  308. <allowedValue>ERROR_USER_DISCONNECT</allowedValue>
  309. <allowedValue>ERROR_ISP_DISCONNECT</allowedValue>
  310. <allowedValue>ERROR_IDLE_DISCONNECT</allowedValue>
  311. <allowedValue>ERROR_FORCED_DISCONNECT</allowedValue>
  312. <allowedValue>ERROR_SERVER_OUT_OF_RESOURCES</allowedValue>
  313. <allowedValue>ERROR_RESTRICTED_LOGON_HOURS</allowedValue>
  314. <allowedValue>ERROR_ACCOUNT_DISABLED</allowedValue>
  315. <allowedValue>ERROR_ACCOUNT_EXPIRED</allowedValue>
  316. <allowedValue>ERROR_PASSWORD_EXPIRED</allowedValue>
  317. <allowedValue>ERROR_AUTHENTICATION_FAILURE</allowedValue>
  318. <allowedValue>ERROR_NO_DIALTONE</allowedValue>
  319. <allowedValue>ERROR_NO_CARRIER</allowedValue>
  320. <allowedValue>ERROR_NO_ANSWER</allowedValue>
  321. <allowedValue>ERROR_LINE_BUSY</allowedValue>
  322. <allowedValue>ERROR_UNSUPPORTED_BITSPERSECOND</allowedValue>
  323. <allowedValue>ERROR_TOO_MANY_LINE_ERRORS</allowedValue>
  324. <allowedValue>ERROR_IP_CONFIGURATION</allowedValue>
  325. <allowedValue>ERROR_UNKNOWN</allowedValue>
  326. </allowedValueList>
  327. </stateVariable>
  328. <stateVariable sendEvents="yes">
  329. <name>ExternalIPAddress</name>
  330. <dataType>string</dataType>
  331. </stateVariable>
  332. <stateVariable sendEvents="no">
  333. <name>RemoteHost</name>
  334. <dataType>string</dataType>
  335. </stateVariable>
  336. <stateVariable sendEvents="no">
  337. <name>ExternalPort</name>
  338. <dataType>ui2</dataType>
  339. </stateVariable>
  340. <stateVariable sendEvents="no">
  341. <name>InternalPort</name>
  342. <dataType>ui2</dataType>
  343. </stateVariable>
  344. <stateVariable sendEvents="no">
  345. <name>PortMappingProtocol</name>
  346. <dataType>string</dataType>
  347. <allowedValueList>
  348. <allowedValue>TCP</allowedValue>
  349. <allowedValue>UDP</allowedValue>
  350. </allowedValueList>
  351. </stateVariable>
  352. <stateVariable sendEvents="no">
  353. <name>InternalClient</name>
  354. <dataType>string</dataType>
  355. </stateVariable>
  356. <stateVariable sendEvents="no">
  357. <name>PortMappingDescription</name>
  358. <dataType>string</dataType>
  359. </stateVariable>
  360. <stateVariable sendEvents="no">
  361. <name>PortMappingEnabled</name>
  362. <dataType>boolean</dataType>
  363. </stateVariable>
  364. <stateVariable sendEvents="no">
  365. <name>PortMappingLeaseDuration</name>
  366. <dataType>ui4</dataType>
  367. </stateVariable>
  368. <stateVariable sendEvents="yes">
  369. <name>PortMappingNumberOfEntries</name>
  370. <dataType>ui2</dataType>
  371. </stateVariable>
  372. </serviceStateTable>
  373. </scpd>