Patent ID: 7719980
Filing Date: 2010-05-18
Classification: H04L

Abstract:
1. A method of handling data packets in a network device, said method comprising: receiving an incoming data packet; parsing the incoming data packet to obtain a portion of the incoming data packet, the portion including a packet field; comparing said portion with rules stored in a rule table of the network device, wherein each rule of said rules specifies a set of actions and includes at least one rule field, the at least one rule field including a rule field value, a mask, and a selection flag, the mask specifying a mask-specified subset of the rule field value, and wherein the comparing further includes selecting a match between said portion and a particular rule of said rules, based on the comparison result and the selection flag, including selecting the match for the rule field when either the comparison result is positive and the selection flag is positive, or when the comparison result is negative and the selection flag is negative; and executing a particular set of actions specified by said particular rule.