×

Technique for efficiently classifying packets using a trie-indexed hierarchy forest that accommodates wildcards

  • US 6,041,053 A
  • Filed: 09/18/1997
  • Issued: 03/21/2000
  • Est. Priority Date: 09/18/1997
  • Status: Expired due to Term
First Claim
Patent Images

1. A method for use in a packet classifier, the classifier having a data structure with hierarchically-related pattern values stored therein, said pattern values having wildcards therein;

  • wherein the data structure has a search trie and a hierarchy forest, the search trie being formed of a plurality of branch nodes organized into a binary search trie extending from a root node therein to said hierarchy forest, the hierarchy forest having a plurality of pattern nodes, each having a different corresponding one of the pattern values associated therewith, and at least one hierarchy of pattern nodes with associated pattern values of increasing generality;

    the method comprising the steps of;

    forming a key in response to information contained in a portion of the packet;

    traversing along a path through the search trie in order to reach one of the pattern nodes in said hierarchy forest, the path being defined by the key and pivot bit values associated with ones of said branch nodes;

    determining whether the key either matches or is subsumed by a pattern value stored in said one pattern node or in a different one of pattern nodes situated at an increasingly higher level of a hierarchy containing said one pattern node, so as to locate a desired one of the pattern values, stored in the hierarchy, that either identically matches or most specifically subsumes the key; and

    if the key identically matches or is subsumed by the desired one pattern value;

    accessing a stored classification associated with said desired one pattern value; and

    returning the stored classification for the packet.

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