×

Filter based longest prefix match algorithm

  • US 20050175010A1
  • Filed: 02/09/2004
  • Published: 08/11/2005
  • Est. Priority Date: 02/09/2004
  • Status: Active Grant
First Claim
Patent Images

1. A method of performing a longest prefix match comprising the steps of:

  • a) filtering a key into a plurality of filter fields, each of which is associated with a respective filter table;

    b) performing a longest prefix match (LPM) operation on each of the filter fields in their respective filter tables, wherein each LPM operation yields a result indicating lengths of prefixes potentially matching the key;

    c) intersecting the results to obtain a set of potential prefix lengths; and

    d) performing a series of hash lookups, based on the previously indicated potential prefix lengths, beginning with the longest potential prefix length and progressing to successively shorter potential prefix lengths until a matching prefix is found, which is the longest prefix matching the key.

View all claims
  • 4 Assignments
Timeline View
Assignment View
    ×
    ×