freebsd-skq/tools
Luigi Rizzo ed8c4b44e6 Support the specification of a range of destination ports e.g.
netsend 127.0.0.1 6666-7777 [payloadsize] [packet_rate] [duration]

This is useful to test the behaviour of systems that do some kind
of flow classifications and so exhibit different behaviour depending
on the number of flows that hit them.
I plan to add a similar extension to sweep on a range of IP addresses,
so we can issue a single command to flood (obviously, for testing
purposes!) a number of different destinations.

When there is only one destination, we do a preliminary connect()
of the socket so we can use send() instead of sendto().
When we have multiple ports, the socket is not connect()'ed and we
do a sendto() instead. There is a performance hit in this case,
as the throughput on the loopback interface (with a firewall rule
that blocks the transmission) goes down from 900kpps to 490kpps on
my test machine.

If the number of different destinations is limited, one option to
explore is to have multiple connect()ed sockets.

MFC after:	1 month
2009-10-15 15:30:41 +00:00
..
build Add libjail, a (somewhat) simpler interface to the jail_set and jail_get 2009-06-24 18:19:55 +00:00
debugscripts
diag
kerneldoc - Update config to doxygen 1.5.2 (I use this with 1.5.9). 2009-08-24 13:10:55 +00:00
KSE Use, in uncovered part, the END() macro in order to improve debugging. 2009-05-25 14:37:10 +00:00
LibraryReport
regression Tweaks for sigqueue tests: 2009-10-11 17:04:13 +00:00
sched - Update my copyright. 2009-01-22 06:21:30 +00:00
test This is simple testing program for revision 185647. 2008-12-06 13:23:53 +00:00
tools Support the specification of a range of destination ports e.g. 2009-10-15 15:30:41 +00:00
install.sh
make_libdeps.sh - Add cddl/lib to the list of library directories. 2007-10-01 18:11:43 +00:00
README

$FreeBSD$

This directory tree contains tools used for the maintenance and
testing of FreeBSD.  There is no toplevel Makefile structure since
these tools are not meant to be built as part of the standard system,
though there may be individual Makefiles in some of the subdirs.

Please read the README files in the subdirs for further information.