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
..
contrib
tests
.gitignore
COPYING
Makefile.Darwin
Makefile.FreeBSD
Makefile.Linux
Makefile.NetBSD
Makefile.OpenBSD
Makefile.SunOS
Makefile.common
README
assert.h
checksum.c
checksum.h
checksum_test.c
code.c
code.h
config.c
config.h
configure
ethernet.h
fmemopen.c
fmemopen.h
gre.h
gre_packet.c
gre_packet.h
hash.c
hash.h
hash_map.c
hash_map.h
header.h
icmp.h
icmp_packet.c
icmp_packet.h
icmpv6.h
ip.h
ip_address.c
ip_address.h
ip_packet.c
ip_packet.h
ip_prefix.c
ip_prefix.h
ipv6.h
lexer.l
link_layer.c
link_layer.h
logging.c
logging.h
mpls.h
mpls_packet.c
mpls_packet.h
net_utils.c
net_utils.h
netdev.c
netdev.h
open_memstream.c
open_memstream.h
packet.c
packet.h
packet_checksum.c
packet_checksum.h
packet_parser.c
packet_parser.h
packet_parser_test.c
packet_socket.h
packet_socket_linux.c
packet_socket_pcap.c
packet_to_string.c
packet_to_string.h
packet_to_string_test.c
packetdrill.c
parse.h
parser.y
platforms.h
run.c
run.h
run_command.c
run_command.h
run_packet.c
run_packet.h
run_system_call.c
run_system_call.h
script.c
script.h
sctp.h
sctp_chunk_to_string.c
sctp_chunk_to_string.h
sctp_iterator.c
sctp_iterator.h
sctp_packet.c
sctp_packet.h
socket.c
socket.h
symbols.h
symbols_darwin.c
symbols_freebsd.c
symbols_linux.c
symbols_netbsd.c
symbols_openbsd.c
symbols_solaris.c
system.c
system.h
tcp.h
tcp_options.c
tcp_options.h
tcp_options_iterator.c
tcp_options_iterator.h
tcp_options_to_string.c
tcp_options_to_string.h
tcp_packet.c
tcp_packet.h
tun.h
types.c
types.h
udp.h
udp_packet.c
udp_packet.h
udplite.h
udplite_packet.c
udplite_packet.h
unaligned.h
wire_client.c
wire_client.h
wire_client_netdev.c
wire_client_netdev.h
wire_conn.c
wire_conn.h
wire_protocol.c
wire_protocol.h
wire_server.c
wire_server.h
wire_server_netdev.c
wire_server_netdev.h
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!