Common Syntax Errors - 3Com SUPERSTACK 2200 User Manual

Switch administration console
Table of Contents

Advertisement

Common Syntax
Errors
When a packet filter definition is loaded, the definition is checked for syntax
errors. The syntax errors and their causes are listed in Table A-1.
Table A-1 Possible Syntax Errors When Loading Packet Filters
Syntax Error
Opcode not found
Unknown opcode
Operands are not
the same size
Stack underflow
Stack overflow
No result found
on top of stack
Extra characters
on line
Expected a byte
operand
Offset not found
Literal not found
String not found
(continued)
Description
An opcode was expected on the line and was not found.
The opcode must be one of those described in "Opcodes" on
page A-1 and must include the size, if any. The opcode and
size must be separated by a single "." with no intervening
spaces. Any mix of uppercase and lowercase characters is
permitted.
An opcode was expected on the line and was not found.
The opcode must be one of those described in "Opcodes" on
page A-1 and must include the size, if any. The opcode and
size must be separated by a single "." with no intervening
spaces. Any mix of upper and lower case characters is
permitted.
The opcode requires two operands of the same size. The top
two operands currently on the stack are of different sizes.
The opcode requires one or more operands. An insufficient
number of operands are currently on the stack.
The opcode pushes an operand on the stack. The stack does
not have sufficient room for the operand.
The program must end with a byte operand on the top of
the stack. After the last instruction in the program is
executed, the stack is either empty or contains an operand
other than a byte.
The source line contains extraneous characters that are not
part of the instruction and are not preceded by a comment
character (#).
The opcode requires a byte operand as one of its parameters.
The operand is of a size other than a byte.
The opcode requires an offset to be specified. None was
found on the line.
The opcode requires a literal value to be specified. None was
found on the line.
The opcode requires a quoted string to be specified. None
was found on the line.

Common Syntax Errors

A-13

Advertisement

Table of Contents
loading

This manual is also suitable for:

Superstack ii 2200

Table of Contents