Patent ID: 11863449
Assignee: REALTEK SEMICONDUCTOR CORPORATION
Field: Digital communication (Electrical engineering)
Classification: CPC H | IPC H

Claim 0:
1. A communication device configured to receive a data flow, wherein the communication device comprises:
a monitor port configured to receive a packet of the data flow; and
a packet processor coupled to the monitor port,
wherein the packet processor is configured to compute, by using a first hash algorithm, a first digest value of the packet according to a packet attribute and to compute, by using a second hash algorithm, a second digest value of the packet according to the packet attribute in response to the packet processor determining that the packet satisfies a dropping event,
wherein the packet processor further computes a plurality of identification codes of the packet respectively according to the first digest value and the second digest value of the packet, and the packet processor searches a plurality of status values associated with the plurality of identification codes in a plurality of lookup tables respectively, so as to determine whether the dropping event of the data flow is recorded,
wherein the first hash algorithm is different from the second hash algorithm, and the first digest value is different from the second digest value, and
wherein the packet processor is further configured to record a packet content in a monitoring event, modify the first status value of a first lookup table of the plurality of lookup tables to be the control value, and modify the second status value of a second lookup table of the plurality of lookup tables to be the control value in response to at least one of the following conditions being met:
a first status value of the plurality of status values does not satisfy a control value, and
a second status value of the plurality of status values does not satisfy the control value.