Patents
US 6,877,005 B2#21446769 Most CitedExpiredUnited States (USPTO)Utility

Longest best match search

5Forward Citations (#21446769 Global)
0.2/yrCitation Velocity (#30491948 Global)
1.38Citation PageRank (#25906119 Global)
15Prior Art Cited
3Claims (1 Indep. · 2 Dep.)
0Drawings / Sheets

Abstract

A method and apparatus for efficiently performing a longest match search are provided. According to one aspect of the present invention, an entry in a forwarding database, a routing table, or the like is located using an improved longest match search. A mask is applied to an address, such as a destination Internet Protocol (IP) address, to determine a masked address that is to be used for purposes of locating a matching entry in the forwarding database. The forwarding database is searched for an entry that matches the masked address. Subsequent masks are produced by performing an address-sensitive decimation of the former mask. For example, the former mask may be shortened based upon the location of the least significant bit containing a one in the masked address. According to another aspect of the present invention, data forwarding employs the improved longest match search. Data is received at a port. An address is extracted from the data. A forwarding database is searched for a longest match for the address by comparing a portion of the address indicated by a mask to entries in the forwarding database and using progressively shorter masks, determined based upon the masked address

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 5.

Claims (3 — 1 Independent, 2 Dependent)

  1. Claim 1Independent Claim

    A method of locating an entry in a forwarding database corresponding to a longest match of an address, the method comprising: (a) applying a mask to the address to determine a masked address that is to be used for purposes of locating a matching entry in the forwarding database; (b) searching the forwarding database for an entry that matches the masked address; and (c) performing an address-sensitive decimation of the mask to produce a new mask.

  2. Claim 2Depends on #1

    The method of claim 1 , further comprising the step of performing a hash function on the masked address to produce an index into a hash table.

  3. Claim 3Depends on #2

    The method of claim 2 , wherein the step of performing an address-sensitive decimation of the mask to update the mask comprises shortening the mask so that the application of the mask to the address will exclude data to cause the hash function to produce a r

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (5)

  • A.J. Mcauley, et al., "Fast Routing Table Lookup Using CAMs", IEEE Infocom vol. 3, 1993, pp. 1382-1391.
  • C. Partridge, et al., "Big Fast Routers: Multi-Megapacket Forwarding Engines Fro Internet II", Networld/Interop '97, 17 pages.
  • M. Degermark, et al., "Small Forwarding Tables for Fast Routing Lookups", Computer Communication Review, ACM Sigcomm, vol. 27, No. 4, Oct. 1997, pp.
  • M. Waldvogel, et al., "Scalable High Speed IP Routing Lookups", Computer Communications Review, ACM Sigcomm, vol. 27, No. 4, Oct. 1997, pp. 25-36.
  • P. Gupta, et al., "Routing lookups In Hardware At Memory Access Speeds", submitted to IEEE Infocom '98, pp. 1240-1247.