Index of /itools/IP/TRACE/TCPLIB

      Name                    Last modified       Size  Description

[DIR] Parent Directory 19-Apr-2005 00:27 - [   ] FTP_ITEM 19-Oct-1992 13:00 9k [TXT] FTP_NITE 19-Oct-1992 13:00 1k [TXT] RELEASE 22-Feb-1992 13:00 3k [TXT] RELEASE.FTP 14-Oct-1992 13:00 5k [TXT] RELEASE_.9 16-May-1992 13:00 4k [   ] TCPLIB.TAR 19-Oct-1992 13:00 220k [   ] TCPLIBTR.PS 06-Mar-1992 13:00 236k

If you have one of the machines/OSes for which the library has been generated, 
then you don't need to make the library; you can simply load your simulator 
with the appropriate libtcp* and include tcpapps.h and/or brkdn_dist.h in files 
making call to the library.  (You might have to run ranlib(1) on the library 
before using it.) Since tcplib make calls to lrand48(3), make sure you seed it 
with srand48() before making any calls to tcplib.

If and only if you need to generate a new library, would you need tcplib.tar.Z.  
Once you untar the file, simply run make and libtcp.a should be generated 
automatically.  There is no need for customization unless your system doesn't
recognize one of the system calls, such as strstr().

You might want to get tciplibtr.ps.Z also, it's the tech report describing the 
generation, verification, and usage of the library.

Please let me (jamin@usc.edu) know if you are using the library so that I can 
notify you of bug fixes and updates.  Please let me know also if you have 
problems with the library.


% ls -l tcplib
       /* This file. */
       README

       /* libtcp for different machines/OSes. */
       libtcp_ds31_ultrix41.a.Z
       libtcp_hp90_hpux847.a.Z
       libtcp_sun3_sunos411.a.Z
       libtcp_sun4_sunos411.a.Z
    
       /* include files. */
       tcpapps.h
       brkdn_dist.h
 
       /* tech report describing tclib. */
       tcplibtr.ps.Z

       /* the library generator. */
       tcplib.tar.Z

       /* man page for the library. */
       tcplib.1

% tar tf tcplib.tar

      /* data files for traffic characteristics. */
      tcplib/data/telnet.interarrival
      tcplib/data/telnet.duration
      tcplib/data/telnet.pktsize
      tcplib/data/nntp.nitems
      tcplib/data/nntp.itemsize
      tcplib/data/ftp.itemsize
      tcplib/data/ftp.nitems
      tcplib/data/ftp.ctlsize
      tcplib/data/smtp.itemsize

      /* manual pages. */
      tcplib/doc/tcplib.1
      tcplib/doc/tcplibgen.1

      tcplib/COPYRIGHT
      tcplib/Makefile

      /* files that make up tcplibgen[ch]. */
      tcplib/tcplibgen.h
      tcplib/tcplibgenc.c
      tcplib/tcplibgenh.c

      /* tcplib front-end */
      tcplib/tcplib.c
      tcplib/tcplib.h
      tcplib/tcpapps.h

      /* utilities and test case. */
      tcplib/tcplibutils.c
      tcplib/tcplibutils.h
      tcplib/tcplibtest.c

      /* sample input file used by tcgen[ch]. */
      tcplib/sample.tc

      /* input files for tcgen[ch]. */
      tcplib/ftp.tc
      tcplib/nntp.tc
      tcplib/smtp.tc
      tcplib/telnet.tc