Download EVA-X1610C
Transcript
Test Commands Command Description Ping Sends ICMP echo requests to a host. This command can be used to verify the IP communication between two hosts. tloop TCP loopback test. This command tries to connect to a TCP echo server and if that succeeds it sends some data. The servtest program that is shipped with NexGenIP can be used on the host. 7.4.2 Configuring the Target The test program includes the ngtest.h header file that contains some configuration options. Some options can also be configured in the makefile. The options set in the header file are listed below: PPP Options Options Description WANT_PPP_SERVER configures the program as a server. If this option is not set the program is configured as a client. WANT_DEBUG enables debug traces WANT_MODEM enables modem configuration. If this option is not set a direct connection configuration is used. WANT_VJCOMP enables Van Jacobson compression WANT_PAP enables PAP authentication WANT_CHAP enables CHAP authentication IP/Network Options Options Description BUF_MAX total number of message buffers BUF_HDRMAX size of link layer header (PPP header = 4) BUF_DATAMAX size of link layer data (typically 1500 + 2 bytes for the PPP checksum) BUF_POOLSIZE size of the message buffer pool SOCK_MAX maximum number of open sockets Chapter 7 Serial Communication 132