×

Incremental compilation for classification and filtering rules

  • US 7,236,493 B1
  • Filed: 06/13/2002
  • Issued: 06/26/2007
  • Est. Priority Date: 06/13/2002
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for generating a hierarchy of lookup tables for use in classifying a network packet in accordance with an access control list (ACL) containing one or more rules, the hierarchy comprising a first level and one or more successive levels, the method comprising the steps of:

  • dividing a packet header contained in the network packet into a plurality of sections wherein each section is associated with a plurality of section values;

    generating a first-level lookup table and equivalence set associated with the first level in the hierarchy for each of the sections wherein the equivalence set contains one or more equivalence-set entries and wherein each equivalence-set entry is associated with one or more rules, and the first-level lookup table containing one or more first-level lookup table entries wherein each first-level lookup table entry associates each section value with an equivalence-set entry;

    allocating one or more successive-level lookup tables for each successive level in the lookup table hierarchy wherein each successive-level lookup table contains one or more successive-level entries;

    initializing the successive-level entries to indicate they are missing;

    creating a matching rule bitmap for each section value;

    determining if the matching rule bitmap matches an entry in the first-level equivalence set and, if not, assigning an equivalence-set index value to the matching rule bitmap and placing the matching rule bitmap in the equivalence set, otherwise, retrieving the equivalence-set index value associated with the matching entry; and

    associating the equivalence-set index value with the first-level lookup table entry associated with the section value.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×