PACKET MATCHING METHOD AND APPARATUS, STORAGE MEDIUM, AND ELECTRONIC DEVICE

    公开(公告)号:US20240323120A1

    公开(公告)日:2024-09-26

    申请号:US18572948

    申请日:2022-06-22

    CPC classification number: H04L45/7453

    Abstract: 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.

Patent Agency Ranking