home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
ibmtool.zip
/
ihelp.h
< prev
next >
Wrap
Text File
|
1997-11-07
|
22KB
|
602 lines
struct IHELP {
char *cmd;
char *syntax[10];
} IHelp[] =
{
{ " ADDMC ", { " ",
" ",
" ",
" Syntax: ADDMC xx xx xx xx xx xx",
" Description: Calls the MAC's AddMulticastAddress function.",
" Example: ADDMC C0 00 80 03 04 05",
" ",
" ",
" ",
" " }
},
{ " CHKDATA ", { " ",
" ",
" ",
" Syntax: CHKDATA {'ON' | 'OFF'} {'STOP' | 'NOSTOP'}",
" Description: Sets data checking on received frames and",
" whether or not to halt execution.",
" ",
" ",
" ",
" " }
},
{ " CHKIND ", { " ",
" Syntax: CHKIND [<Count>] [<Type>]",
" Type = RX | TX | ICOMP | GENREQ | ",
" STAT [<StatType>]",
" StatType = RING | ADAPTER | START | END |",
" INT",
" Description: Checks for a total Count or a Count of Type",
" indications received from the MAC.",
" ",
" " }
},
{ " CHKLK ", { " ",
" ",
" ",
" Syntax: CHKLK <Length>",
" Description: Checks the last ReceiveLookahead Length",
" for a value of Length.",
" ",
" ",
" ",
" " }
},
{ " CHKSTAT ", { " ",
" ",
" ",
" ",
" Syntax: CHKSTAT <Value>",
" Description: Checks an internal variable for a value of Value.",
" ",
" ",
" ",
" " }
},
{ " CHKTOKEN ", { " ",
" ",
" ",
" Syntax: CHKTOKEN",
" Description: Returns a status of SUCCESS if the MAC is",
" a TokenRing type, else returns GENERAL_FAILURE",
" ",
" ",
" ",
" " }
},
{ " CLOSE ", { " ",
" ",
" ",
" Syntax: CLOSE",
" Description: Calls the MAC's CloseAdapter function.",
" ",
" ",
" ",
" ",
" " }
},
{ " CLRIND ", { " ",
" ",
" ",
" Syntax: CLRIND",
" Description: Zeroes out the indication counters used by CKHIND.",
" ",
" ",
" ",
" ",
" " }
},
{ " CLRMAC ", { " ",
" ",
" Syntax: CLRMAC",
" Description: Sets packet filter to 0, clears the Multicast",
" Address List, closes the adapter, and sets the",
" Current Station Address to the Permanent",
" Station Address.",
" ",
" ",
" " }
},
{ " CSTAT ", { " ",
" ",
" ",
" Syntax: CSTAT",
" Description: Calls the MAC's ClearStatistics function.",
" ",
" ",
" ",
" ",
" " }
},
{ " DELMC ", { " ",
" ",
" ",
" Syntax: DELMC xx xx xx xx xx xx",
" Description: Calls the MAC's DeleteMulticastAddress function.",
" Example: DELMC C0 00 80 03 04 05",
" ",
" ",
" ",
" " }
},
{ " ECHO ", { " ",
" ",
" ",
" Syntax: ECHO",
" Description: Toggles the echo mode.",
" If echo mode is on, all frames received by the",
" MAC are transmitted back to their source.",
" ",
" ",
" " }
},
{ " EDITBUF ", { " Syntax: EDITBUF <I | #> <hexdata>",
" Description: Allows input of data into the Transmit Buffer.",
" I = Immediate Tx buffer; # = Tx buffer # (0 - n)",
" Example: EDITBUF I 10 40 62*FF",
" Sets the first 2 bytes of the Immed Tx buffer",
" to 0x10 and 0x40 and fills the next 62 bytes of",
" the Immed Tx buffer with FF's.",
" EDITBUF 0 100*11",
" Fills the first 100 bytes of Tx data buffer 0",
" with 0x11." }
},
{ " EXIT ", { " ",
" ",
" ",
" Syntax: EXIT",
" Description: Exit the Test Tool.",
" ",
" ",
" ",
" ",
" " }
},
{ " FILTER ", { " ",
" Syntax: FILTER <#>",
" # = 0 - (Directed and Multicast) or",
" (Group and Functional)",
" 1 - Broadcast",
" 2 - Promiscuous",
" 3 - Any Source Routing Packet",
" Description: Calls the MAC's SetPacketFilter function.",
" ",
" " }
},
{ " FUNADR ", { " ",
" ",
" ",
" Syntax: FUNADR xx xx xx xx",
" Description: Calls the MAC's SetFunctionalAddress function.",
" Example: FUNADR 01 02 03 04",
" ",
" ",
" ",
" " }
},
{ " INDCOMP ", { " ",
" ",
" ",
" Syntax: INDCOMP",
" Description: Causes TestMAC to generate an IndicationComplete",
" indication to WEDGE.",
" ",
" ",
" ",
" " }
},
{ " INDICOFF ", { " ",
" ",
" ",
" Syntax: INDICOFF",
" Description: Calls the MAC's IndicationOff function.",
" ",
" ",
" ",
" ",
" " }
},
{ " INDICON ", { " ",
" ",
" ",
" Syntax: INDICON",
" Description: Calls the MAC's IndicationOn function.",
" ",
" ",
" ",
" ",
" " }
},
{ " INITDIAG ", { " ",
" ",
" ",
" Syntax: INITDIAG",
" Description: Calls the MAC's InitiateDiagnostics function.",
" ",
" ",
" ",
" ",
" " }
},
{ " INTREQ ", { " ",
" ",
" ",
" Syntax: INTREQ",
" Description: Calls the MAC's InterruptRequest function.",
" ",
" ",
" ",
" ",
" " }
},
{ " LOG ", { " ",
" ",
" ",
" Syntax: LOG <Filename>",
" Description: Causes all commands and messages to be logged.",
" ",
" ",
" ",
" ",
" " }
},
{ " MODOPEN ", { " ",
" ",
" Syntax: MODOPEN <OpenOptions> [ExtendedRet]",
" Description: Modifies the Open Options for a",
" Token Ring Adapter.",
" Example: MODOPEN ????",
" ??????????",
" ",
" ",
" " }
},
{ " MONITOR ", { " ",
" ",
" ",
" Syntax: MONITOR",
" Description: Sets the program into Monitor mode.",
" This essentially takes the program out of",
" Server mode or Workstation mode.",
" ",
" ",
" " }
},
{ " MULTRAN ", { " ",
" Syntax: MULTRAN [FrameCount] [<Min> <Max>] [<Type>]",
" Description: Broadcasts <FrameCount> frames of length <Min> to",
" length <Max>.",
" Example: MULTRAN 10 100 200",
" Broadcasts 10 frames with lengths ranging from",
" 100 to 200 bytes.",
" MULTRAN 20",
" Broadcasts 20 frames ranging in length from the",
" the minimum to the maximum frame size." }
},
{ " OPEN ", { " ",
" ",
" ",
" Syntax: OPEN",
" Description: Calls the MAC's OpenAdapter function.",
" ",
" ",
" ",
" ",
" " }
},
{ " READLOG ", { " ",
" ",
" ",
" Syntax: READLOG <LogLen>",
" Description: Calls the MAC's ReadErrorLog function.",
" Example: READLOG 10",
" Reads 10 bytes from the MAC's Error Log, if any.",
" ",
" ",
" " }
},
{ " READMAC ", { " ",
" Syntax: READMAC <TableId> <ByteOffset> [<Op> <TestValue>]",
" TableId = MCC | MSC | MSS | MMC",
" Operator = '=' | '&'",
" Description: Reads a byte at <ByteOffset> from the given MAC",
" <TableId> and compares it for equality or masking",
" with the given <TestValue>.",
" Example: READMAC MSC 6 = 5",
" Tests byte 6 of the MAC's Service-Specific",
" Characteristics Table for a value of '5'." }
},
{ " REQCONF ", { " ",
" ",
" ",
" Syntax: REQCONF <Handle> <OriginalCommand> <Status>",
" Description: Causes TestMAC to generate a General Request",
" Confirmation indication to WEDGE.",
" ",
" ",
" ",
" " }
},
{ " RESET ", { " ",
" ",
" ",
" Syntax: RESET",
" Description: Calls the MAC's ResetAdapter function.",
" ",
" ",
" ",
" ",
" " }
},
{ " RUN ", { " ",
" ",
" ",
" Syntax: RUN <Filename> [<LogFile>]",
" Description: Processes commands from the given File.",
" ",
" ",
" ",
" ",
" " }
},
{ " RXBUF ", { " ",
" ",
" ",
" Syntax: RXBUF ['P']",
" Description: Displays the current Receive buffer.",
" 'P' = pause mode",
" ",
" ",
" ",
" " }
},
{ " RXCHAIN ", { " ",
" ",
" ",
" Syntax: RXCHAIN [Type] [FrameLength] [PassFrameLength]",
" [Handle]",
" Description: Causes TestMAC to generate a ReceiveChain",
" indication to WEDGE.",
" ",
" ",
" " }
},
{ " RXLOOK ", { " ",
" ",
" ",
" Syntax: RXLOOK [Type] [FrameLength] [PassFrameLength]",
" [LookaheadLength]",
" Description: Causes TestMAC to generate a ReceiveLookahead",
" indication to WEDGE.",
" ",
" ",
" " }
},
{ " RXRLS ", { " ",
" ",
" ",
" Syntax: RXRLS",
" Description: Calls the MAC's ReceiveRelease function.",
" ",
" ",
" ",
" ",
" " }
},
{ " RXSIZE ", { " ",
" Syntax: RXSIZE [BufferSize(s)]",
" Description: Sets the Receive data buffer size(s).",
" If no parameters are specified, the current",
" Receive data buffer sizes are displayed.",
" Example: RXSIZE 64 100 200",
" Sets the Immediate Data buffer size to 64 bytes",
" and adds 2 extra Tx data buffers of 100 and 200",
" bytes.",
" " }
},
{ " RXWAIT ", { " ",
" ",
" " ,
" Syntax: RXWAIT",
" Description: Causes WEDGE to return WAIT_FOR_RELEASE on",
" completion of a ReceiveChain indication.",
" ",
" ",
" ",
" " }
},
{ " SERVER ", { " ",
" ",
" ",
" Syntax: SERVER",
" Description: Sets the program into Server mode.",
" ",
" ",
" ",
" ",
" " }
},
{ " SETLOOK ", { " ",
" ",
" ",
" Syntax: SETLOOK <LookLength>",
" Description: Calls the MAC's SetLookahead function.",
" Example: SETLOOK 256",
" Sets the MAC's ReceiveLookahead Length at 256.",
" ",
" ",
" " }
},
{ " SETSTAT ", { " ",
" ",
" ",
" Syntax: SETSTAT <Value>",
" Description: Sets an internal variable to the given Value.",
" ",
" ",
" ",
" ",
" " }
},
{ " SETSTN ", { " ",
" ",
" Syntax: SETSTN <AdaptAddr>",
" Description: Calls the MAC's SetStationAddress function.",
" Example: SETSTN 01 02 03 04 05 06",
" If supported, sets the MAC's Current Station",
" Address at 01 02 03 04 05 06",
" ",
" ",
" " }
},
{ " SLEEP ", { " ",
" ",
" ",
" Syntax: SLEEP <Seconds>",
" Description: Cause the Test Tool to idle for given value.",
" ",
" ",
" ",
" ",
" " }
},
{ " SRVTX ", { " ",
" ",
" Syntax: SRVTX [FrameCount] [<Min> <Max>] [<Type>]",
" Type = 0 Broadcast (default)",
" = 1 <NetAddr> - Directed to an address",
" = 2 - Directed to the requester",
" Description: Commands a server to transmit a packet similar to",
" the MULTRAN command.",
" ",
" " }
},
{ " STATIND ", { " ",
" ",
" ",
" Syntax: STATIND <Opcode> <Param>",
" Description: Causes TestMAC to generate a Status Indication",
" indication to WEDGE.",
" ",
" ",
" ",
" " }
},
{ " STRESS ", { " ",
" Syntax: STRESS [FrmCount] [Tolerance] ['NOSTOP'] ['NOCHK']",
" FrameCount = stress frame limit (DEF = 1000000)",
" Tolerance = xmit frame attempt fail limit",
" (DEFAULT = 10000)",
" 'NOSTOP' = do not halt on data errors",
" 'NOCHK' = do not perform data validation",
" Description: Starts the stress test.",
" ",
" " }
},
{ " TRAN ", { " ",
" ",
" ",
" Syntax: TRAN",
" Description: Transmits the current Tx buffer.",
" ",
" ",
" ",
" ",
" " }
},
{ " TXBUF ", { " ",
" ",
" ",
" Syntax: TXBUF ['P']",
" Description: Displays the Transmit data buffer.",
" 'P' = pause mode",
" ",
" ",
" ",
" " }
},
{ " TXCONF ", { " ",
" ",
" ",
" Syntax: TXCONF <Handle> <Status>",
" Description: Causes TestMAC to generate a TransmitConfirm",
" indication to WEDGE.",
" ",
" ",
" ",
" " }
},
{ " TXSIZE ", { " ",
" Syntax: TXSIZE [BufferSize(s)]",
" Description: Sets the Transmit data buffer size(s).",
" If no parameters are specified, the current",
" Receive data buffer sizes are displayed.",
" Example: TXSIZE 64 100 200",
" Sets the Immediate Data buffer size to 64 bytes",
" and adds 2 extra Tx data buffers of 100 and 200",
" bytes.",
" " }
},
{ " USEGDT ", { " ",
" ",
" ",
" Syntax: USEGDT",
" Description: Toggles GDT usage for Transmit commands",
" (i.e. TRAN and MULTRAN).",
" ",
" ",
" ",
" " }
},
{ " USTAT ", { " ",
" ",
" ",
" Syntax: USTAT",
" Description: Calls the MAC's UpdateStatistics function.",
" ",
" ",
" ",
" ",
" " }
},
{ " WKSTA ", { " ",
" ",
" ",
" Syntax: WKSTA",
" Description: Sets the program into Workstation mode.",
" ",
" ",
" ",
" ",
" " }
},
{ " XFERDATA ", { " ",
" ",
" ",
" Syntax: XFERDATA",
" Description: Calls the MAC's TransferData function.",
" ",
" ",
" ",
" ",
" " }
},
{ "END" , { "",
"",
"",
"",
"",
"",
"",
"",
"",
"" }
} };