Data Streams - Intel IXP2400 User Manual

Network processors
Table of Contents

Advertisement

IXP2400/IXP2800 Network Processors
Developer Workbench
Note: See the file
passed to these initialization functions.
As the simulation progresses, the PacketSim DLL calls function
of data is required on a receive port. In addition to the byte of data, the NTS DLL must also return
a flag indicating whether the byte is the last byte (EOP) in the frame/cell. When the PacketSim
DLL receives the last byte, it will call the
one. It also calls the
before asking for the first byte of the next frame/cell. This allows the DLL to randomize the arrival
of frames/cells.
On the transmit side, the PacketSim DLL calls the function
of data out of the transmit buffer to be sent over the network. An EOP flag is asserted along with
the last byte in the frame/cell.
When the user presses Stop Debugging in the Workbench, or if the
executed directly, the functions
connected receive and transmit port, respectively. The Reset() function is also called.
When the user closes the project or exits the Workbench, the function
before the NTS DLL is freed.
A Visual C++ project which is an example of a network traffic simulation DLL can be found at:
...\IXA_SDK_3.1\me_tools\Samples\NetworkTraffic.
2.12

Data Streams

Data streams are used to simulate network traffic. To create and edit data streams:
1. On the Simulation menu, click Data Streams....
The Data Streams dialog box appears (see
2. Click the Create Stream ... button.
The Create Stream pop-up appears (see
You can create and edit the following data streams (see the following):
POS IP
ATM AAL5
Custom Ethernet IP
Ethernet IP
Ethernet TCP/IP
PPP TCP/IP
90
for the contents of the port configuration data structures that are
PortConfigData.h
GetInterpacketTime()
CloseRxPort()
(see
Section
(see
Section
(see
Section
(see
Section
(see
Section
(see
Section 2.12.6
GetNextByte()
GetReturnStatus()
function in order to determine how long it waits
SendNextByte()
and
CloseTxPort()
Figure
30).
Figure
31).
2.12.1)
2.12.2).
2.12.3).
2.12.4).
2.12.5).
Development Tools User's Manual
whenever a byte
function if you have provided
when it takes a byte
command is
sim_reset
are called for each
is called just
Close()

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ixp2800

Table of Contents