Method and apparatus for flexible frame processing and classification engine
Abstract
A method of handling data packets in a network device and an apparatus for handling data packets in a network device are disclosed. The method includes receiving an incoming data packet and the incoming data packet is parsed to obtain a portion of the incoming data packet. That portion is compared with rules stored in a rule table, where each rule specifies a set of actions. A match between the portion and a particular rule of the rules is selected and a particular set of actions, specified by that particular rule is executed. Each rule includes a mask, a selection flag and a validity check that are used in the comparison of the portion with each rule. The rules may be compared with the packet portion serially or in a parallel fashion and if more than one rule matches the portion, the highest priority is selected as the matching rule.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 22 · Forward citations: 6.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
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 furthe
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (6 of 6 total)
References Cited — Backward Prior Art (22)
Non-Patent Literature (3)
- "Computer Networks," A.S. Tanenbaum, Prentice-Hall Int., USA, XP-002147300(1998), Sec. 5.2-Sec. 5.3, pp. 309-320.
- Fabrice Marie, "Netfilter Extensions How to," Linux 2.4, Online! Dec. 20, 2001, pp. 1-21, XP-002237040.
- Rusty Russell, "Packet Filtering How to," Linux 2.4, Online! Nov. 20, 2001, pp. 1-19, XP-002237039.