IXP1200 Network Processor Family ATM
//Define DEBUG to enable all the counters and
//Disable for maximum performance.
//#define DEBUG
//Define COUNTERS_ENABLE_MASK to all 1’s to enable every system counter.
//Otherwise its default is set in system_config.h
//#define COUNTERS_ENABLE_MASK0xFFFFFFFF
//Define ATM_LOOPBACK to allow hardware configurations with ATM outputs
//connected directly to ATM inputs
//or external loopback cable. Normally the design would discard
//an IP packet received on ATM with an IP destination on an ATM port.
//ATM_LOOPBACK simply forwards it to the next ethernet port.
#define ATM_LOOPBACK
//Define ETHERNET_LOOPBACK to allow routing packets from Ethernet
//Receive to Ethernet Transmit. Otherwise packets received on
//Ethernet ports with Ethernet destinations will be discarded.
//Useful for equipment
//#define ETHERNET_LOOPBACK
//Define RFC1812 to enable all the required router tests under spec RFC1812
//on ethernet to ethernet and ATM to ethernet traffic.
#define RFC1812
5.2system_config.h
The system_config.h header file is used to define ATM headers, counters, and other settings. The project’s README.txt file should be consulted for more detail.
5.3Switching Between Hardware Configurations
As detailed in the README.txt file, the project source code comes with three
The
6.0Testing Environments
In simulation, this project was tested with IXA SDK V2.01 Development Environment on Windows 2000. On hardware, it has been tested with VxWorks Tornado 2.1, on the IXDP1240 Advanced Development Platform.
Application Note | 55 |
Modified on: 3/20/02,