发明名称 |
Search algorithm implementation for a network processor |
摘要 |
A method of performing a search based upon a search criterion using a tree is proposed. In use an input is read as a search key and the most significant bits are used as an index to a search table representing a plurality of search nodes. Each non empty entry in the search table will contain a pointer to the next branch of the tree. The search table may use a hash function to generate an index key. A determination is then made if the pointer points to a leaf or branch of the tree. If the pointer is to a branch the procedure is repeated until a leaf object is identified and returned to the calling application. In no entry is found that matches the search a no match is returned. The search criterion may be a longest prefix match in which instance the method is executed to find the position of the distinguishing bit. |
申请公布号 |
GB2371381(B) |
申请公布日期 |
2004.09.01 |
申请号 |
GB20010008545 |
申请日期 |
2001.04.05 |
申请人 |
* INTERNATIONAL BUSINESS MACHINES CORPORATION |
发明人 |
BRIAN M * BASS;JEAN L * CALVIGNAC;MARCO C * HEDDES;ANTONIOS * MARAGKOS;MICHAEL S * SIEGEL;FABRICE J * VERPLANKEN;PIYUSH * PATEL;CLARK D * JEFFRIES;MARK A * RINALDI;MARK A * RINALDI;CLARK D * JEFFRIES;PIYUSH * PATEL;FABRICE J * VERPLANKEN;MICHAEL S * SIEGEL;ANTONIOS * MARAGKOS;MARCO C * HEDDES;JEAN L * CALVIGNAC;BRIAN M * BASS |
分类号 |
G06F17/30;H04L12/56;(IPC1-7):G06F17/30 |
主分类号 |
G06F17/30 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|