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.

404 lines
14 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>GetLinkLayerMaxBitRates</name>
  76. <argumentList>
  77. <argument>
  78. <name>NewUpstreamMaxBitRate</name>
  79. <direction>out</direction>
  80. <relatedStateVariable>UpstreamMaxBitRate</relatedStateVariable>
  81. </argument>
  82. <argument>
  83. <name>NewDownstreamMaxBitRate</name>
  84. <direction>out</direction>
  85. <relatedStateVariable>DownstreamMaxBitRate</relatedStateVariable>
  86. </argument>
  87. </argumentList>
  88. </action>
  89. <action>
  90. <name>GetGenericPortMappingEntry</name>
  91. <argumentList>
  92. <argument>
  93. <name>NewPortMappingIndex</name>
  94. <direction>in</direction>
  95. <relatedStateVariable>PortMappingNumberOfEntries</relatedStateVariable>
  96. </argument>
  97. <argument>
  98. <name>NewRemoteHost</name>
  99. <direction>out</direction>
  100. <relatedStateVariable>RemoteHost</relatedStateVariable>
  101. </argument>
  102. <argument>
  103. <name>NewExternalPort</name>
  104. <direction>out</direction>
  105. <relatedStateVariable>ExternalPort</relatedStateVariable>
  106. </argument>
  107. <argument>
  108. <name>NewProtocol</name>
  109. <direction>out</direction>
  110. <relatedStateVariable>PortMappingProtocol</relatedStateVariable>
  111. </argument>
  112. <argument>
  113. <name>NewInternalPort</name>
  114. <direction>out</direction>
  115. <relatedStateVariable>InternalPort</relatedStateVariable>
  116. </argument>
  117. <argument>
  118. <name>NewInternalClient</name>
  119. <direction>out</direction>
  120. <relatedStateVariable>InternalClient</relatedStateVariable>
  121. </argument>
  122. <argument>
  123. <name>NewEnabled</name>
  124. <direction>out</direction>
  125. <relatedStateVariable>PortMappingEnabled</relatedStateVariable>
  126. </argument>
  127. <argument>
  128. <name>NewPortMappingDescription</name>
  129. <direction>out</direction>
  130. <relatedStateVariable>PortMappingDescription</relatedStateVariable>
  131. </argument>
  132. <argument>
  133. <name>NewLeaseDuration</name>
  134. <direction>out</direction>
  135. <relatedStateVariable>PortMappingLeaseDuration</relatedStateVariable>
  136. </argument>
  137. </argumentList>
  138. </action>
  139. <action>
  140. <name>GetSpecificPortMappingEntry</name>
  141. <argumentList>
  142. <argument>
  143. <name>NewRemoteHost</name>
  144. <direction>in</direction>
  145. <relatedStateVariable>RemoteHost</relatedStateVariable>
  146. </argument>
  147. <argument>
  148. <name>NewExternalPort</name>
  149. <direction>in</direction>
  150. <relatedStateVariable>ExternalPort</relatedStateVariable>
  151. </argument>
  152. <argument>
  153. <name>NewProtocol</name>
  154. <direction>in</direction>
  155. <relatedStateVariable>PortMappingProtocol</relatedStateVariable>
  156. </argument>
  157. <argument>
  158. <name>NewInternalPort</name>
  159. <direction>out</direction>
  160. <relatedStateVariable>InternalPort</relatedStateVariable>
  161. </argument>
  162. <argument>
  163. <name>NewInternalClient</name>
  164. <direction>out</direction>
  165. <relatedStateVariable>InternalClient</relatedStateVariable>
  166. </argument>
  167. <argument>
  168. <name>NewEnabled</name>
  169. <direction>out</direction>
  170. <relatedStateVariable>PortMappingEnabled</relatedStateVariable>
  171. </argument>
  172. <argument>
  173. <name>NewPortMappingDescription</name>
  174. <direction>out</direction>
  175. <relatedStateVariable>PortMappingDescription</relatedStateVariable>
  176. </argument>
  177. <argument>
  178. <name>NewLeaseDuration</name>
  179. <direction>out</direction>
  180. <relatedStateVariable>PortMappingLeaseDuration</relatedStateVariable>
  181. </argument>
  182. </argumentList>
  183. </action>
  184. <action>
  185. <name>AddPortMapping</name>
  186. <argumentList>
  187. <argument>
  188. <name>NewRemoteHost</name>
  189. <direction>in</direction>
  190. <relatedStateVariable>RemoteHost</relatedStateVariable>
  191. </argument>
  192. <argument>
  193. <name>NewExternalPort</name>
  194. <direction>in</direction>
  195. <relatedStateVariable>ExternalPort</relatedStateVariable>
  196. </argument>
  197. <argument>
  198. <name>NewProtocol</name>
  199. <direction>in</direction>
  200. <relatedStateVariable>PortMappingProtocol</relatedStateVariable>
  201. </argument>
  202. <argument>
  203. <name>NewInternalPort</name>
  204. <direction>in</direction>
  205. <relatedStateVariable>InternalPort</relatedStateVariable>
  206. </argument>
  207. <argument>
  208. <name>NewInternalClient</name>
  209. <direction>in</direction>
  210. <relatedStateVariable>InternalClient</relatedStateVariable>
  211. </argument>
  212. <argument>
  213. <name>NewEnabled</name>
  214. <direction>in</direction>
  215. <relatedStateVariable>PortMappingEnabled</relatedStateVariable>
  216. </argument>
  217. <argument>
  218. <name>NewPortMappingDescription</name>
  219. <direction>in</direction>
  220. <relatedStateVariable>PortMappingDescription</relatedStateVariable>
  221. </argument>
  222. <argument>
  223. <name>NewLeaseDuration</name>
  224. <direction>in</direction>
  225. <relatedStateVariable>PortMappingLeaseDuration</relatedStateVariable>
  226. </argument>
  227. </argumentList>
  228. </action>
  229. <action>
  230. <name>DeletePortMapping</name>
  231. <argumentList>
  232. <argument>
  233. <name>NewRemoteHost</name>
  234. <direction>in</direction>
  235. <relatedStateVariable>RemoteHost</relatedStateVariable>
  236. </argument>
  237. <argument>
  238. <name>NewExternalPort</name>
  239. <direction>in</direction>
  240. <relatedStateVariable>ExternalPort</relatedStateVariable>
  241. </argument>
  242. <argument>
  243. <name>NewProtocol</name>
  244. <direction>in</direction>
  245. <relatedStateVariable>PortMappingProtocol</relatedStateVariable>
  246. </argument>
  247. </argumentList>
  248. </action>
  249. <action>
  250. <name>GetExternalIPAddress</name>
  251. <argumentList>
  252. <argument>
  253. <name>NewExternalIPAddress</name>
  254. <direction>out</direction>
  255. <relatedStateVariable>ExternalIPAddress</relatedStateVariable>
  256. </argument>
  257. </argumentList>
  258. </action>
  259. </actionList>
  260. <serviceStateTable>
  261. <stateVariable sendEvents="no">
  262. <name>ConnectionType</name>
  263. <dataType>string</dataType>
  264. <defaultValue>Unconfigured</defaultValue>
  265. </stateVariable>
  266. <stateVariable sendEvents="yes">
  267. <name>PossibleConnectionTypes</name>
  268. <dataType>string</dataType>
  269. <defaultValue>Unconfigured</defaultValue>
  270. </stateVariable>
  271. <stateVariable sendEvents="yes">
  272. <name>ConnectionStatus</name>
  273. <dataType>string</dataType>
  274. <defaultValue>Unconfigured</defaultValue>
  275. <allowedValueList>
  276. <allowedValue>Unconfigured</allowedValue>
  277. <allowedValue>Connecting</allowedValue>
  278. <allowedValue>Authenticating</allowedValue>
  279. <allowedValue>PendingDisconnect</allowedValue>
  280. <allowedValue>Disconnecting</allowedValue>
  281. <allowedValue>Disconnected</allowedValue>
  282. <allowedValue>Connected</allowedValue>
  283. </allowedValueList>
  284. </stateVariable>
  285. <stateVariable sendEvents="no">
  286. <name>Uptime</name>
  287. <dataType>ui4</dataType>
  288. <defaultValue>0</defaultValue>
  289. <allowedValueRange>
  290. <minimum>0</minimum>
  291. <maximum></maximum>
  292. <step>1</step>
  293. </allowedValueRange>
  294. </stateVariable>
  295. <stateVariable sendEvents="no">
  296. <name>UpstreamMaxBitRate</name>
  297. <dataType>ui4</dataType>
  298. <defaultValue>0</defaultValue>
  299. <allowedValueRange>
  300. <minimum>0</minimum>
  301. <maximum></maximum>
  302. <step></step>
  303. </allowedValueRange>
  304. </stateVariable>
  305. <stateVariable sendEvents="no">
  306. <name>DownstreamMaxBitRate</name>
  307. <dataType>ui4</dataType>
  308. <defaultValue>0</defaultValue>
  309. <allowedValueRange>
  310. <minimum>0</minimum>
  311. <maximum></maximum>
  312. <step></step>
  313. </allowedValueRange>
  314. </stateVariable>
  315. <stateVariable sendEvents="no">
  316. <name>LastConnectionError</name>
  317. <dataType>string</dataType>
  318. <defaultValue>ERROR_NONE</defaultValue>
  319. <allowedValueList>
  320. <allowedValue>ERROR_NONE</allowedValue>
  321. <allowedValue>ERROR_ISP_TIME_OUT</allowedValue>
  322. <allowedValue>ERROR_COMMAND_ABORTED</allowedValue>
  323. <allowedValue>ERROR_NOT_ENABLED_FOR_INTERNET</allowedValue>
  324. <allowedValue>ERROR_BAD_PHONE_NUMBER</allowedValue>
  325. <allowedValue>ERROR_USER_DISCONNECT</allowedValue>
  326. <allowedValue>ERROR_ISP_DISCONNECT</allowedValue>
  327. <allowedValue>ERROR_IDLE_DISCONNECT</allowedValue>
  328. <allowedValue>ERROR_FORCED_DISCONNECT</allowedValue>
  329. <allowedValue>ERROR_SERVER_OUT_OF_RESOURCES</allowedValue>
  330. <allowedValue>ERROR_RESTRICTED_LOGON_HOURS</allowedValue>
  331. <allowedValue>ERROR_ACCOUNT_DISABLED</allowedValue>
  332. <allowedValue>ERROR_ACCOUNT_EXPIRED</allowedValue>
  333. <allowedValue>ERROR_PASSWORD_EXPIRED</allowedValue>
  334. <allowedValue>ERROR_AUTHENTICATION_FAILURE</allowedValue>
  335. <allowedValue>ERROR_NO_DIALTONE</allowedValue>
  336. <allowedValue>ERROR_NO_CARRIER</allowedValue>
  337. <allowedValue>ERROR_NO_ANSWER</allowedValue>
  338. <allowedValue>ERROR_LINE_BUSY</allowedValue>
  339. <allowedValue>ERROR_UNSUPPORTED_BITSPERSECOND</allowedValue>
  340. <allowedValue>ERROR_TOO_MANY_LINE_ERRORS</allowedValue>
  341. <allowedValue>ERROR_IP_CONFIGURATION</allowedValue>
  342. <allowedValue>ERROR_UNKNOWN</allowedValue>
  343. </allowedValueList>
  344. </stateVariable>
  345. <stateVariable sendEvents="no">
  346. <name>RSIPAvailable</name>
  347. <dataType>boolean</dataType>
  348. <defaultValue>0</defaultValue>
  349. </stateVariable>
  350. <stateVariable sendEvents="no">
  351. <name>NATEnabled</name>
  352. <dataType>boolean</dataType>
  353. <defaultValue>1</defaultValue>
  354. </stateVariable>
  355. <stateVariable sendEvents="yes">
  356. <name>X_Name</name>
  357. <dataType>string</dataType>
  358. </stateVariable>
  359. <stateVariable sendEvents="yes">
  360. <name>ExternalIPAddress</name>
  361. <dataType>string</dataType>
  362. </stateVariable>
  363. <stateVariable sendEvents="no">
  364. <name>RemoteHost</name>
  365. <dataType>string</dataType>
  366. </stateVariable>
  367. <stateVariable sendEvents="no">
  368. <name>ExternalPort</name>
  369. <dataType>ui2</dataType>
  370. </stateVariable>
  371. <stateVariable sendEvents="no">
  372. <name>InternalPort</name>
  373. <dataType>ui2</dataType>
  374. </stateVariable>
  375. <stateVariable sendEvents="no">
  376. <name>PortMappingProtocol</name>
  377. <dataType>string</dataType>
  378. <allowedValueList>
  379. <allowedValue>TCP</allowedValue>
  380. <allowedValue>UDP</allowedValue>
  381. </allowedValueList>
  382. </stateVariable>
  383. <stateVariable sendEvents="no">
  384. <name>InternalClient</name>
  385. <dataType>string</dataType>
  386. </stateVariable>
  387. <stateVariable sendEvents="no">
  388. <name>PortMappingDescription</name>
  389. <dataType>string</dataType>
  390. </stateVariable>
  391. <stateVariable sendEvents="no">
  392. <name>PortMappingEnabled</name>
  393. <dataType>boolean</dataType>
  394. </stateVariable>
  395. <stateVariable sendEvents="no">
  396. <name>PortMappingLeaseDuration</name>
  397. <dataType>ui4</dataType>
  398. </stateVariable>
  399. <stateVariable sendEvents="yes">
  400. <name>PortMappingNumberOfEntries</name>
  401. <dataType>ui2</dataType>
  402. </stateVariable>
  403. </serviceStateTable>
  404. </scpd>