×

Performing a multi-stage lookup to classify packets

  • US 10,498,638 B2
  • Filed: 05/01/2017
  • Issued: 12/03/2019
  • Est. Priority Date: 09/15/2013
  • Status: Active Grant
First Claim
Patent Images

1. A method for generating a cached rule for processing packets, the method comprising:

  • receiving a packet comprising a plurality of header fields over which a set of rules match;

    defining a wildcard mask for the packet, comprising a different field corresponding to each header field of the packet, each field of the wildcard mask initially indicating a wildcard value;

    modifying the wildcard mask by, for each of the plurality of header fields of the packet over which the set of rules match, performing a lookup for the header field and un-wildcarding the corresponding field of the wildcard mask until (i) lookups are performed for all of the header fields in the plurality of header fields or (ii) a lookup for a header field does not identify a matching rule; and

    generating a rule for processing subsequent packets, the generated rule comprising a set of un-wildcarded fields based on a matching rule of the set of rules and the un-wildcarded fields of the modified wildcard mask.

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