Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Name Last commit Last update
..
packetdrill/contrib
packetdrill/tests
packetdrill
packetdrill/.gitignore
packetdrill/COPYING
packetdrill/Makefile.Darwin
packetdrill/Makefile.FreeBSD
packetdrill/Makefile.Linux
packetdrill/Makefile.NetBSD
packetdrill/Makefile.OpenBSD
packetdrill/Makefile.SunOS
packetdrill/Makefile.common
packetdrill/README
packetdrill/assert.h
packetdrill/checksum.c
packetdrill/checksum.h
packetdrill/checksum_test.c
packetdrill/code.c
packetdrill/code.h
packetdrill/config.c
packetdrill/config.h
packetdrill/configure
packetdrill/ethernet.h
packetdrill/fmemopen.c
packetdrill/fmemopen.h
packetdrill/gre.h
packetdrill/gre_packet.c
packetdrill/gre_packet.h
packetdrill/hash.c
packetdrill/hash.h
packetdrill/hash_map.c
packetdrill/hash_map.h
packetdrill/header.h
packetdrill/icmp.h
packetdrill/icmp_packet.c
packetdrill/icmp_packet.h
packetdrill/icmpv6.h
packetdrill/ip.h
packetdrill/ip_address.c
packetdrill/ip_address.h
packetdrill/ip_packet.c
packetdrill/ip_packet.h
packetdrill/ip_prefix.c
packetdrill/ip_prefix.h
packetdrill/ipv6.h
packetdrill/lexer.l
packetdrill/link_layer.c
packetdrill/link_layer.h
packetdrill/logging.c
packetdrill/logging.h
packetdrill/mpls.h
packetdrill/mpls_packet.c
packetdrill/mpls_packet.h
packetdrill/net_utils.c
packetdrill/net_utils.h
packetdrill/netdev.c
packetdrill/netdev.h
packetdrill/open_memstream.c
packetdrill/open_memstream.h
packetdrill/packet.c
packetdrill/packet.h
packetdrill/packet_checksum.c
packetdrill/packet_checksum.h
packetdrill/packet_parser.c
packetdrill/packet_parser.h
packetdrill/packet_parser_test.c
packetdrill/packet_socket.h
packetdrill/packet_socket_linux.c
packetdrill/packet_socket_pcap.c
packetdrill/packet_to_string.c
packetdrill/packet_to_string.h
packetdrill/packet_to_string_test.c
packetdrill/packetdrill.c
packetdrill/parse.h
packetdrill/parser.y
packetdrill/platforms.h
packetdrill/run.c
packetdrill/run.h
packetdrill/run_command.c
packetdrill/run_command.h
packetdrill/run_packet.c
packetdrill/run_packet.h
packetdrill/run_system_call.c
packetdrill/run_system_call.h
packetdrill/script.c
packetdrill/script.h
packetdrill/sctp.h
packetdrill/sctp_chunk_to_string.c
packetdrill/sctp_chunk_to_string.h
packetdrill/sctp_iterator.c
packetdrill/sctp_iterator.h
packetdrill/sctp_packet.c
packetdrill/sctp_packet.h
packetdrill/socket.c
packetdrill/socket.h
packetdrill/symbols.h
packetdrill/symbols_darwin.c
packetdrill/symbols_freebsd.c
packetdrill/symbols_linux.c
packetdrill/symbols_netbsd.c
packetdrill/symbols_openbsd.c
packetdrill
===========

This directory contains the source code for the packetdrill network
stack testing tool.

The web site for packetdrill is here:

https://code.google.com/p/packetdrill/


building
========

To build packetdrill, first install flex and bison.
On Linux you will also need to install the libsctp-dev package.

Then set up the Makefile for your platform:

# ./configure

Then build the tool:

#  make


running
=======

Here's a quick example.

On FreeBSD, OpenBSD, and NetBSD, try:

# ./packetdrill tests/bsd/tcp/fast_retransmit/fr-4pkt-sack-bsd.pkt

On Linux try:

# ./packetdrill tests/linux/fast_retransmit/fr-4pkt-sack-linux.pkt


license
=======

The packetdrill tool is released under version 2 of the GPL. See the
COPYING file for full details.


discussion and contributions
==============================

If you have any questions, or code or patches to offer, please join
the packetdrill e-mail list at:

http://groups.google.com/group/packetdrill

Contributions of code or tests are both welcomed!

Enjoy!