A packet classification state machine as defined in claim 3 wherein each table of data representing a state of the first group of states comprises 2N table elements wherein N is a number of bits used by the processor to determine the offset from the table address.