Department of Computer Science & Engineering;
Shanghai Jiaotong University;
Shanghai;
200030;
Department of Computer Science & Engineering;
Donghua University;
Shanghai;
200051;
Department of Computer Science & Engineering;
Shanghai Jiaotong University;
Shanghai;
200030acket classification (PC) has become the main method to support the quality of service and security of network application. And two-dimeusioual prefix packet classification (PPC) is the popular one. This paper analyzes the problem of ruler conflict;
and then presents a TCAM-based 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-dimeusional PPC. Compared with other algorithms;
this algorithm has the least time complexity and less space complexity.;
二维前缀信息包; 包分类; TCAM; 数据流; IP包; 三元容量可寻址存储器;