3Com corebuilder 3500 Implementation Manual page 230

Hide thumbs Also See for corebuilder 3500:
Table of Contents

Advertisement

230
C
10: P
HAPTER
ACKET
Table 33 Packet Filtering Opcodes (continued)
Opcode
pushSPGM
pushDPGM
eq (equal)
ne (not equal)
lt (less than)
F
ILTERING
Memory
Requirements
1 byte
1 byte
1 byte
1 byte
1 byte
Description
Pushes the source port group mask (SPGM) onto the
top of the stack. The SPGM is a bitmap representing
the groups to which the source port of a packet
belongs. This instruction pushes 4 bytes on to the
stack.
Each port group mask is represented by a single bit in
the SPGM bitmap. Port group masks are assigned to
the bitmap in sequence, starting with port group mask
1 as the least significant bit through port group mask
32 as the most significant bit.
Use pushSPGM to filter by port groups. See "Using
Port Groups in Custom Packet Filters" for more
information.
Pushes the destination port group mask (DPGM) onto
the top of the stack. The DPGM is a bitmap
representing the groups to which the destination port
of a packet belongs. Pushes 4 bytes on to the stack.
Each port group mask is represented by a single bit in
the DPGM bitmap. Port group masks are assigned to
the bitmap in sequence, starting with port group mask
1 as the least significant bit through port group mask
32 as the most significant bit.
Use pushDPGM to filter by port groups. See "Using
Port Groups in Custom Packet Filters" for more
information.
Pops two values from the stack and compares them. If
they are equal, a byte containing the non-zero value is
pushed onto the stack; otherwise, a byte containing 0
is pushed. The contents of the stack determines the
size of the operands.
Pops two values from the stack and compares them. If
they are not equal, a byte containing the non-zero
value is pushed onto the stack; otherwise, a byte
containing 0 is pushed. The size of the operands is
determined by the contents of the stack.
Pops two values from the stack and performs an
unsigned comparison. If the first is less than the
second, a byte containing the non-zero value is pushed
onto the stack; otherwise, a byte containing 0 is
pushed. The contents of the stack determine the size
of the operands.

Advertisement

Table of Contents
loading

Table of Contents