Patent ID: 7751346

Claim:
An apparatus for searching sockets of a transmission control protocol (TCP) and a user datagram protocol (UDP), comprising: a master module for analyzing command information from a processor, transferring commands to a branch table module and to a tree table module, receiving results from the branch table module and from the tree table module, and reporting the received results to the processor, wherein the master module includes: a command and result register connected to two processor buses for receiving and storing command information from the processor; a schedule finite state machine (FSM) for receiving command information from the command and result register, the schedule FSM for analyzing the received command information and requesting a corresponding command; an info holder for analyzing the received command information, selecting one of command register information from a receiving processor and command register information from a transmitting processor, and selecting an address to be used by the branch table module; and an allocation table for receiving an allocation request from the schedule FSM and allocating an address value; the branch table module coupled to the master module for receiving commands from the master module and managing a branch table by using only the lower 10 bits of a simple internet protocol (IP) address of the commands; and the tree table module coupled to the master module and to the branch table module for managing a binary tree.