]> git.ipfire.org Git - thirdparty/mtr.git/commit
mtr-packet: packet customization options (size, fill, mark, tos)
authorMatt Kimball <matt.kimball@gmail.com>
Sat, 17 Dec 2016 15:24:07 +0000 (07:24 -0800)
committerMatt Kimball <matt.kimball@gmail.com>
Sat, 17 Dec 2016 15:24:07 +0000 (07:24 -0800)
commit560e6802c1c82357c30057d55a76ebd3ade51146
tree0c7248b043ecc699c2fa46b104af5ac934ef6112
parent88d1a95087185339e439918a24923d5e0e816451
mtr-packet: packet customization options (size, fill, mark, tos)

Added send-probe arguments to customize the packet size,
the bitpattern which fills the packet, the IP "type of service"
and the Linux routing mark.  These arguments are documented
in the mtr-packet man page, and have been hooked up to mtr's
commandline parameters.

Internally to mtr-packet, the code is now more consistent about
using errno to return error codes.

Added instrutions for building on Windows to the README.

Fixed the Makefile to build the man pages with BSD make, for FreeBSD.
BSD make lacks the GNU make extension for '%' wildcard matching.

Added a helper program for testing which listens for an ICMP
packet with a particular sequence and prints information about
that packet.
20 files changed:
Makefile.am
README
mangen.sh [new file with mode: 0755]
mtr-packet.8.in
net.c
packet/cmdparse.c
packet/command.c
packet/command_cygwin.c
packet/command_unix.c
packet/construct_unix.c
packet/packet.c
packet/probe.c
packet/probe.h
packet/probe_cygwin.c
packet/probe_cygwin.h
packet/probe_unix.c
test/mtrpacket.py
test/packet_listen.c [new file with mode: 0644]
test/param.py [new file with mode: 0755]
test/probe.py [changed mode: 0644->0755]