In order to transmit application-level data in ns, we provide a uniform structure to pass data among applications, and to pass data from applications to transport agents (Figure ). It has three major components: a representation of a uniform application-level data unit (ADU), a common interface to pass data between applications, and two mechanisms to pass data between applications and transport agents.