Filtering and route lookup in a switching device
First Claim
Patent Images
1. A method performed by one or more devices, the method comprising:
- filtering, by the one or more devices, received packets based on a filter rule associated with the received packets;
marking, for sampling, by the one or more devices, a first one of the received packets by setting a bit in a packet notification when the first received packet matches the filter rule; and
sampling, by the one or more devices, the marked packet based on a randomly generated number associated with the marked packet.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods and devices for processing packets are provided. The processing device may Include an input interface for receiving data units containing header information of respective packets; a first module configurable to perform packet filtering based on the received data units; a second module configurable to perform traffic analysis based on the received data units; a third module configurable to perform load balancing based on the received data units; and a fourth module configurable to perform route lookups based on the received data units.
-
Citations
16 Claims
-
1. A method performed by one or more devices, the method comprising:
-
filtering, by the one or more devices, received packets based on a filter rule associated with the received packets; marking, for sampling, by the one or more devices, a first one of the received packets by setting a bit in a packet notification when the first received packet matches the filter rule; and sampling, by the one or more devices, the marked packet based on a randomly generated number associated with the marked packet. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A method performed by one or more devices, comprising:
-
randomly sampling, by the one or more devices, received packets based on a predetermined sampling rate of 1/n, where n is a specified integer; comparing, by the one or more devices, the predetermined sampling rate to a randomly generated number to form a resulting value; and performing, by the one or more devices, the random sampling based on the resulting value.
-
-
15. A system comprising one or more devices to:
-
accept a packet, when the packet is not rejected by a filter, when a filtering criterion is satisfied, by setting a bit in a packet notification; and mark the accepted packet for sampling when a randomly generated number is less than a predetermined value. - View Dependent Claims (16)
-
Specification