APACKET FILTER OPCODES,

EXAMPLES, AND SYNTAX ERRORS

This appendix:
Describes the specific opcodes you can use when creating a packet filter
Provides numerous examples of commonly used packet filters
Describes the possible syntax errors you might receive when loading a
packet filter
For information on creating and using packet filters, see Chapter 12.
Opcodes Opcodes are instructions used in packet filter definitions. The available
opcodes are described in this section:
name “<name>”
Description:
Assigns a user-defined <name> to the packet filter. The name may be any
sequence of ASCII characters other than quotation marks. The name is limited to
32 characters. Only a single name statement can be included in a packet filter
program.
Storage Needed:
2 + n bytes of packet filter storage where n is the length of the <name>