1. A network device comprising: a memory for storing information regarding a range of addresses, the stored information structured as: a first dataset comprising first data structures, each first data structure including a respective address in the range of addresses and a corresponding instruction parameter, wherein the first data structures are organized in the first dataset ordered by address; a second dataset comprising second data structures, each second data structure including at least one intermediary value corresponding to a respective address prefix, the at least one intermediary value representing information for use in identifying a respective instruction parameter for an address beginning with the respective address prefix; and a set of Boolean values, each Boolean value corresponding to a respective address prefix and indicating whether the second dataset includes a second data structure for the respective address prefix; and at least one processor coupled to the memory configured to: identify a first address and a first address prefix for a first data packet; identify one or more intermediary values corresponding to the first address prefix using the set of Boolean values; identify an instruction parameter using the one or more identified intermediary values; and process the first data packet using the identified instruction parameter, wherein at least one second data structure in the second data set includes: a first intermediary value that is a count of first data structures in the first dataset that each include an address beginning with the corresponding address prefix; and a second intermediary value that is an index into the first dataset for a first data structure that includes an address with the corresponding address prefix.