Opcodes A-7

or (bit-wise OR)

Description:

Pops two values from the stack and pushes the bit-wise OR of these values back onto the stack. The size of the operands and the result are determined by the contents of the stack.

Storage Needed:

1 byte

xor (bit-wise exclusive-OR)

Description:

Pops two values from the stack and pushes the bit-wise exclusive-ORof these values back onto the stack. The size of the operands and the result are determined by the contents of the stack.

Storage Needed:

1 byte

not

Description:

A byte is popped from the stack; if it is non-zero, a zero byte is pushed back onto the stack. Otherwise, a non-zero byte is pushed back onto the stack.

Storage Needed:

1 byte

accept

Description:

Conditionally accepts the packet being examined. A byte is popped from the stack. If it is non-zero, the packet is accepted, and evaluation of the filter ends immediately; otherwise, filter evaluation continues with the next instruction.

Storage Needed:

1 byte

Page 181
Image 181
3Com 2200 manual Or bit-wise or, Byte Xor bit-wise exclusive-OR, Byte Not, Byte Accept