Compact packet operation device and method
First Claim
1. A method of handling a frame in a network device, the method comprising:
- defining a common header for each rule in a rules table of a search engine, wherein the common header comprises a source port specifying a corresponding rule to be applied to a port or ports, and a frame format specifying a format applied to the corresponding rule;
receiving a frame, with the frame having multiple field values, at the port of the network device;
parsing the received frame to obtain the field values and corresponding slices;
applying the slices to the search engine;
determining matches between the slices and the common header of each rule in the rules table;
indexing into a policy table based on the determined matches to obtain an action entry; and
taking an action based on the obtained action entry.
4 Assignments
0 Petitions
Accused Products
Abstract
A network device and a method of handling a frame in a network device defining a common header for each rule in a rules table of a search engine, wherein the common header comprises a source port specifying a corresponding rule to be applied to a port or ports, and a frame format specifying a format applied to the corresponding rule. A port receives a frame, with the frame having multiple field values. A pre-parser parses the received frame to obtain the field values and corresponding slices. A search engine receives the slices and determines matches between the slices and the common header of each rule in the rules table. A policy table performs indexing based on the determined matches to obtain an action entry. An action resolution takes an action based on the obtained action entry.
87 Citations
34 Claims
-
1. A method of handling a frame in a network device, the method comprising:
-
defining a common header for each rule in a rules table of a search engine, wherein the common header comprises a source port specifying a corresponding rule to be applied to a port or ports, and a frame format specifying a format applied to the corresponding rule;
receiving a frame, with the frame having multiple field values, at the port of the network device;
parsing the received frame to obtain the field values and corresponding slices;
applying the slices to the search engine;
determining matches between the slices and the common header of each rule in the rules table;
indexing into a policy table based on the determined matches to obtain an action entry; and
taking an action based on the obtained action entry. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A network device to handle a frame, comprising:
-
a rules table unit for defining a common header for each rule, wherein the common header comprises a source port specifying a corresponding rule to be applied to a port or ports, and a frame format specifying a format applied to the corresponding rule;
a port for receiving a frame, with the frame having multiple field values;
a pre-parser for parsing the received frame to obtain the field values and corresponding slices;
a search engine for receiving the slices and determining matches between the slices and the common header of each rule in the rules table;
a policy table unit for performing indexing based on the determined matches to obtain an action entry; and
an action resolution unit for taking an action based on the obtained action entry. - View Dependent Claims (20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33)
-
-
34. A network device to handle a frame, comprising:
-
rules table means for defining a common header for each rule, wherein the common header comprises a source port specifying a corresponding rule to be applied to a port or ports, and a frame format specifying a format applied to the corresponding rule;
port means for receiving a frame, with the frame having multiple field values;
pre-parser means for parsing the received frame to obtain the field values and corresponding slices;
search engine means for receiving the slices and determining matches between the slices and the common header of each rule in the rules table means;
policy table means for performing indexing based on the determined matches to obtain an action entry; and
action resolution means for taking an action based on the obtained action entry.
-
Specification