CPC H04L 47/2441 (2013.01) [H04L 45/74 (2013.01); H04L 69/22 (2013.01)] | 20 Claims |
1. A method for processing a received packet based on associated state information, the method comprising:
receiving, at a packet processor of a network device, packets from a network;
classifying a received packet as belonging to at least one respective identified flow from among a plurality of identified flows;
for a respective received packet that belongs to an identified flow:
updating a current state value for the identified flow based on receipt of the respective received packet;
recording a value based on the updated current state value with the respective received packet, wherein the updated current state value is indicative of a sequential location of the respective received packet in a stream of previously received packets belonging to the identified flow;
performing a first packet processing operation on the respective received packet based in part on the recorded updated current state value being equal to a first state value; and
performing a second packet processing operation on the respective received packet based in part on the recorded updated current state value being equal to a second state value, wherein the second packet processing operation is different from the first packet processing operation and the second state value is different from the first state value.
|