Pointer based binary search engine and method for use in network devices

    公开(公告)号:US07068652B2

    公开(公告)日:2006-06-27

    申请号:US10090797

    申请日:2002-03-06

    IPC分类号: H04J1/16

    CPC分类号: H04L41/0893 H04L47/2441

    摘要: A network device includes at least one network port, a masks table, a rules table, a pointers table, and a fast filter processor. The masks table contains filter information and a mask key. The rules table contains corresponding rules to the filter information and is related to the mask table by the mask key. The pointers table contains boundary data related to the rules for corresponding filter information. The fast filter processor is coupled to the mask table, the rules table and the pointers table, and configured to perform at least one binary search for at least one rule related to a data packet received by the network device at the at least one network port, the binary search being limited based on the boundary data in the pointers table.