Current network protocol implementations have their respective specifications embedded in their code. The network protocol stack is commonly modeled on the state machine and message parsing/generating functionalities. This article presents a different protocol design model. The model supports dynamically loadable protocol stacks, which are platform and language-independent. The model consists of a protocol engine and a set of protocol description rules. The engine utilizes the description rules for setting up the protocol stack dynamically. This approach is similar to the concept of script and script interpreter except that the protocol engine can dynamically set up the necessary instances of the protocol concerned. To exemplify the concept, we have successfully implemented the proposed model for a JAIN SIP stack to realize a totally dynamically loadable protocol.
Index Terms:
Network Protocols, Protocol Development Design Model, Dynamic Protocol, SIP
Citation:
Seng Kee Tan, Yu Ge, Kean Soon Tan, Chee Wei Ang, Nirmalya Ghosh, "Dynamically Loadable Protocol Stacks: A Message Parser--Generator Implementation," IEEE Internet Computing, vol. 8, no. 2, pp. 19-25, Mar./Apr. 2004, doi:10.1109/MIC.2004.1273482