A TCAM-based Two-dimensional Prefix Packet Classification Algorithm

王志恒,李晓勇,白英彩
DOI: https://doi.org/10.3321/j.issn:1006-2467.2004.01.003
2004-01-01
Abstract:Packet classification (PC) has become the main method to support the quality of service and security of network application. And two-dimensional prefix packet classification (PPC) is the popular one. This paper analyzes the problem of ruler conflict, and then presents a TCAMbased two-dimensional PPC algorithm. This algorithm makes use of the parallelism of TCAM to lookup the longest prefix in one instruction cycle. Then it uses a memory image and associated data structures to eliminate the conflicts between rulers, and performs a fast two-dimensional PPC.Compared with other algorithms, this algorithm has the least time complexity and less space complexity.
What problem does this paper attempt to address?