Packet matching method and apparatus, storage medium, and electronic device
AssigneeSanechips Technology Co., Ltd.
InventorsSiyu Wang, Fengsong Liu, Zhihua Zhu, Hengqi Liu
Life of this patent
Estimating the term…
Loading patent…
AssigneeSanechips Technology Co., Ltd.
InventorsSiyu Wang, Fengsong Liu, Zhihua Zhu, Hengqi Liu
Estimating the term…
Embodiments of the present disclosure provide a packet matching method and apparatus, a storage medium, and an electronic device. The method includes: determining multiple Hash calculation results corresponding to a key value of a packet; indexing addresses in multiple counter groups respectively according to the multiple Hash calculation results, so as to determine multiple counters, wherein one counter is indexed in one counter group; determining one target counter from the multiple counters; acquiring a target entry at a corresponding position of an off-chip memory according to the address of the target counter; in a case where the target entry is equal to the key value, determining that the packet matches the target entry.
A packet matching method performed by a network device, comprising:
A non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores a computer program, and the computer program, when running on a processor, causes the processor to execute following operations:
An electronic device, comprising;
Dependencies are inferred from the claim text.