A method of locating packet identifiers held in respective memory
locations in a memory, the method comprising receiving a plurality of
packets, each packet including a packet identifier, searching said memory
locations in a sequence to compare an incoming packet identifier with
packet identifiers stored in the memory until a match is found,
incrementing one of a set of counters associated respectively with the
memory locations, said incremented counter being the one associated with
the memory location where the match packet identifier is held, and
reading values of each of the counters and using said values to determine
the sequence in which the memory locations are searched for subsequent
incoming packet identifiers.