Introduction
This document serves as a reference for the services provided by the Simulation Kernel and to the means of accessing these services. For the most part, the simulation services are accessed through Kernel Procedures (KPs), which are procedures that can be called from within process models, Transceiver Pipeline stages, C/C++ functions that have been scheduled as interrupts, or simply C/C++ functions that are directly or indirectly invoked from one of these contexts.
Additional sources of useful functions for these contexts are the prg_ packages documented in the “Data Structures and Algorithms API““Data Structures and Algorithms API“, “Generic Runtime System API““Generic Runtime System API“, and “OPNET Runtime System API““OPNET Runtime System API“ manuals. (Some prg_ functions have Kernel Procedure equivalents that allow tracing in ODB; these are described in “Programming Package“ on page 1.)
KPs are categorized by primary function, based on the types of objects they attempt to manipulate. The collection of KPs within a category is called a package, and KPs within the same package share a common package keyword in their procedure names. For instance, a large number of KPs are concerned with manipulating packets; these are grouped together in the Packet package and use the “pk” keyword. Each package has its own section. Sections are arranged alphabetically, based on the package name.
You can view function descriptions from the documentation or by choosing Help > Help on all KPs from the Riverbed Modeler menu bar.