Skip to content
A ping toolset for CCNx.
Shell C
Find file
Latest commit abdecac Aug 26, 2013 @yic yic fix format
Failed to load latest commit information.
build-aux commit Apr 21, 2013
.gitignore commit Apr 21, 2013
Makefile.am commit Apr 21, 2013
Makefile.in commit Apr 21, 2013
README fix a bug for -a option Aug 26, 2013
ccnping.c fix format Aug 26, 2013
ccnpingserver.c fix format Aug 26, 2013
configure change error msg Apr 21, 2013
configure.ac change error msg Apr 21, 2013

README

ccnping and ccnpingserver are CCNx applications for testing CCN connectivity.

Author
========================================
Cheng Yi <yic@email.arizona.edu>
Department of Computer Science
University of Arizona

Prerequisite
========================================
CCNx must be installed.

Installation
========================================
Default installation:
./configure
make
sudo make install

To install in a different path, run
./configure --prefix=/different/path
If CCNx is not installed in the default path, run
./configure LDFLAGS=-L/CCNx/path/lib CFLAGS=-I/CCNx/path/include

ccnpingserver
========================================
Usage: ./ccnpingserver ccnx:/name/prefix [options]
Starts a CCN ping server that responds to Interests with name ccnx:/name/prefix/ping/number.
  [-x freshness] - set FreshnessSeconds
  [-d] - run server in daemon mode
  [-h] - print this message and exit

ccnping
========================================
Usage: ./ccnping ccnx:/name/prefix [options]
Ping a CCN name prefix using Interests with name ccnx:/name/prefix/ping/number.
The numbers in the Interests are randomly generated unless specified.
  [-i interval] - set ping interval in seconds (minimum 0.1 second)
  [-c count] - set total number of pings
  [-n number] - set the starting number, the number is increamented by 1 after each Interest
  [-p identifier] - add identifier to the Interest names before the numbers to avoid conflict
  [-a] - allow routers to return ping Data from cache (allowed by default if CCNx version < 0.8.0)
  [-t] - print timestamp
  [-h] - print this message and exit


Test connectivity
========================================
ccnpingserver is usually run on a hub which announces its own name prefix. For example, on the Arizona hub, ccnpingserver is started by running "ccnpingserver /ndn/arizona.edu". Then other nodes can run "ccnping /ndn/arizona.edu" to test the connectivity towards /ndn/arizona.edu.
Something went wrong with that request. Please try again.