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.

80 lines
3.7 KiB

  1. <HTML>
  2. <HEAD>
  3. <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
  4. <META NAME="Generator" CONTENT="Microsoft Word 97">
  5. <TITLE>ATM</TITLE>
  6. </HEAD>
  7. <BODY LINK="#0000ff">
  8. <FONT FACE="Verdana" SIZE=5><H2>ATM Sample Protocol</H2>
  9. </FONT><FONT FACE="Verdana" SIZE=2>
  10. <P><span style="color:#FF0000;font-size:10pt;font-family:Arial">[This is preliminary documentation and subject to change.]</span></P>
  11. <H3>SUMMARY</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
  12. This sample demonstrates a connection-oriented NDIS 5.0 client. It shows how to establish and tear down a point-to-point or point-to-multipoint connection over ATM. A user mode application is provided, and will allow you to do the following with the driver:<DIR>
  13. <BLOCKQUOTE>1. Establish connection to remote (or local) machines. (P-P or PMP)</BLOCKQUOTE>
  14. <BLOCKQUOTE>2. Send data over the established connection.</BLOCKQUOTE>
  15. <BLOCKQUOTE>3. Receive all data to our SAP from the local adapter.</BLOCKQUOTE>
  16. <BLOCKQUOTE>4. Tear down a connection that was previously established.
  17. </blockquote></DIR><P>
  18. The sample works on both x86 and Alpha platforms and is 64-bit compliant. Both checked and free builds are available.
  19. <FONT FACE="Verdana" SIZE=2><P>
  20. <H3>BUILDING THE SAMPLE</H3>
  21. </FONT><FONT FACE="Verdana">From the Free or Checked Build environment, execute <B>build</B> in the Atmsmple directory.
  22. <H3>INSTALLATION</H3>
  23. The driver is installed using the file Netatmsm.inf, which is provided in the driver directory. <P>
  24. In Network Connections UI, select an ATM adapter and open <B>Properties</B>.<P>
  25. Click <B>Install</B>, then <B>Protocol</B>, then <B>Add</B>, and then <B>Have disk</B>.Then point to the location of the .inf and driver.<P>
  26. Select <B>ATM Sample Client Protocol</B> and click <B>OK</B>.
  27. <H3>USAGE</H3>
  28. For help on usage, run <B>tmSmApp -?</B>. Details follow.<DIR>
  29. <BLOCKQUOTE>AtmSmApp /Start</BLOCKQUOTE>
  30. <BLOCKQUOTE>AtmSmApp /Enum</BLOCKQUOTE>
  31. <BLOCKQUOTE>AtmSmApp /INTF:4700918100000000613E5BFE010000C100741F00 /RECV</BLOCKQUOTE>
  32. <BLOCKQUOTE>AtmSmApp /INTF:4700...41F00 /SEND:4700...41F00,4700...123F00 </BLOCKQUOTE></DIR>
  33. Specify multiple destinations by using comma delimiters. When multiple destinations are specified, a PMP call is made. <P>
  34. The full NSAP address should be specified. Selector Byte defaults to 05.<P>
  35. <H3>TIPS</H3>
  36. With a checked binary, you can control the volume of debug information generated by changing the variable AtmSmDebugFlag. Refer to AtmSmDbg.h for more information.
  37. <H3>CODE TOUR</H3>
  38. <H4>File Manifest</H4></FONT><PRE><FONT FACE="Courier" SIZE=1>
  39. <B>Inc</B><br>
  40. <U>File</U>&#9;&#9;<U>Description</U>&#9;
  41. Atmsample.h&#9;Definitions of the IOCTLS
  42. <B>App</B><br>
  43. <U>File</U>&#9;&#9;<U>Description</U>&#9;
  44. Atmsmapp.c&#9;User-mode test application
  45. Utils.c&#9;&#9;Helper routines for the user-mode app
  46. <B>Driver</B><br>
  47. <U>File</U>&#9;&#9;<U>Description</U>&#9;
  48. Adapter.c&#9;Adapter structure related routines
  49. Atmsmdbg.c&#9;Memory management in debug build
  50. Atmsmdrv.c&#9;Driver entry and initialization routines
  51. Callmgr.c&#9;Interface to the call manager
  52. Globals.c&#9;Global data for the driver
  53. Ioctl.c&#9;&#9;Io Control Interface with the user mode
  54. Misc.c&#9;&#9;ReferenceVc, DereferenceVc, DisconnectVc, etc.
  55. Request.c&#9;NDIS request routines
  56. Sendrecv.c&#9;Packet send and receive related routines
  57. Netatmsm.inf&#9;Installation file
  58. </pre>
  59. </FONT><P ALIGN="CENTER"><A HREF="#top"><FONT FACE="Verdana" SIZE=2>Top of page</FONT></A><FONT FACE="Verdana" SIZE=2> </P></FONT>
  60. <TABLE CELLSPACING=0 BORDER=0 WIDTH=624>
  61. <TR><TD VALIGN="MIDDLE" BGCOLOR="#00ffff" HEIGHT=2>
  62. <P></TD>
  63. </TR>
  64. </TABLE>
  65. <FONT FACE="MS Sans Serif" SIZE=1><P>&copy; Microsoft Corporation 1999</FONT><FONT FACE="Verdana" SIZE=2> </P></FONT></BODY>
  66. </HTML>