3Com LANPLEX 6000 User Manual page 205

Administration console
Hide thumbs Also See for LANPLEX 6000:
Table of Contents

Advertisement

4 Enter executable instruction #3:
eq
# if the two values on the top of the stack are equal,
then return a non-zero value
By itself, this filter looks like the following:
Name
"Forward only XNS packets"
pushField.w
12
pushLiteral.w
0x0600
eq
Packet Filter Two. This filter is designed to accept packets within the
socket range of 0x76c and 0x898. The steps below show how to create this
filter.
1 Name the filter:
"Socket range filter"
2 Enter executable instruction #1:
pushLiteral.w 0x76c # put the highest socket value on top
of the stack
3 Enter executable instruction #2:
pushField.w 30
packet on top of the stack
4 Enter executable instruction #3:
ge # compare if the value of the socket is greater than or
equal to the lower bound
5 Enter executable instruction #4:
pushLiteral.w 0x0898 # put the lowest socket value on top
of the stack
6 Enter executable instruction #5:
pushField.w 30 # put the value of the socket from the
packet on top of the stack
# get the type field of the packet and
# place it on top of the stack
# put the type value for XNS on top of
# the stack
# if the two values on the top of the
# stack are equal, then return a non-zero
# value
# put the value of the socket from the
Creating Packet Filters
14-15

Advertisement

Table of Contents
loading

Table of Contents