Package File Structure

This page provides information on the directory layout of the PacketLab software package. Note for source tarball, we show the layout for the installation result.

Prebuilt Package

  • (PacketLab directory)
    • bin
      • pktendpt
      • pktlab_init
      • pktxpmgr
    • config
      • endpt.conf.template
      • example.endpt.conf
      • xpmgr.conf.template
      • example.xpmgr.conf
    • cred
      • caida_k_bop.pub
    • example_mlets
      • Makefile
      • test_dns
      • test_dns.c
      • test_fd
      • test_fd.c
      • test_http_get
      • test_http_get.c
    • include
      • pktctrl.h
      • pktlab.h
    • lib
      • libpktlab.a
      • libpktlab.ssl.a
    • setup_aux
      • pktlab-init.py
      • requirements.txt

Source Tarball

  • (installation directory)
    • bin
      • pktendpt
      • pktlab_init
      • pktxpmgr
    • include
      • pktctrl.h
      • pktlab.h
    • lib
      • libpktlab.a
      • libpktlab.ssl.a
    • share
      • pktlab
        • config
          • endpt.conf.template
          • example.endpt.conf
          • xpmgr.conf.template
          • example.xpmgr.conf
        • cred
          • caida_k_bop.pub
        • example_mlets
          • Makefile
          • test_dns
          • test_dns.c
          • test_fd
          • test_fd.c
          • test_http_get
          • test_http_get.c
        • setup_aux
          • pktlab-init.py
          • requirements.txt

Explanation of Directory Content

  • bin contains compiled binaries for pktxpmgr & pktendpt, and a symbolic link to the pktlab_init script.
  • config contains template config files for pktxpmgr and pktendpt.
  • cred contains pre-shipped credentials by the PacketLab team.
  • example_mlets contains sample mlet (measurement applet) binaries, their C source code, as well as an example Makefile to compile them.
  • include contains the header files for libpktlab.
  • lib contains compiled static libraries for libpktlab.
  • setup_aux contains the auxiliary files required to set up the user for the PacketLab software package.

    share/pktlab is only present when building from source and is home to config, cred, example_mlets, and setup_aux.