Title :
Enabling Flexible Packet Filtering Through Dynamic Code Generation
Author :
Morandi, O. ; Risso, F. ; Baldi, M. ; Baldini, A.
Author_Institution :
Dipt. di Autom. e Inf., Politec. di Torino, Torino
Abstract :
Despite its efficiency, the general approach of hardcoding protocol format descriptions in packet processing applications suffers from many limitations. Among the others, the lack of flexibility when needing to extend the software for supporting new protocols, and the proliferation of modules with similar functionality between different applications, resulting in decreased maintainability. The NetPDL language was defined for overcoming such limitations, allowing decoupling applications from the knowledge of the format of protocol headers. The main criticism to NetPDL relates to its supposed performance penalties; this paper demonstrates that this language can be effectively used for the dynamic generation of optimized, i.e. efficient and fast, packet-processing code, and presents the architecture of a compiler implemented for such purpose.
Keywords :
program compilers; protocols; specification languages; NetPDL language; Network Protocol Description Language; dynamic code generation; dynamic generation; flexible packet filtering; hardcoding protocol format descriptions; packet processing applications; packet-processing code; protocol headers; protocols; software; Application software; Communications Society; Databases; Filtering; Optimizing compilers; Program processors; Protocols; Software maintenance; USA Councils; Velocity measurement;
Conference_Titel :
Communications, 2008. ICC '08. IEEE International Conference on
Conference_Location :
Beijing
Print_ISBN :
978-1-4244-2075-9
Electronic_ISBN :
978-1-4244-2075-9
DOI :
10.1109/ICC.2008.1094