diff --git a/SRC/echoping.1 b/SRC/echoping.1 index 271ad08..79873a9 100644 --- a/SRC/echoping.1 +++ b/SRC/echoping.1 @@ -96,11 +96,17 @@ layer priority depends upon the network protocol and link protocol in use. For more details see .B SO_PRIORITY in -.BR socket (7). +.BR socket(7). .IP -P\ n Set the IP type of service octet in the transmitted packets to the least significant eight bits of the integer .IR n . +See +.BR ip(7) +or +.BR ip(4) +(depending on your Unix). /usr/include/netinet/ip.h may contain +interesting constants for setting Type Of Service. .SH EXAMPLES .IP echoping\ \-v\ foobar.example.com Tests the remote machine with TCP echo (one test). @@ -170,7 +176,7 @@ You may need to be superuser to set some .B -p or .B -P -values. +values (precedence on Linux, for instance). .SH BUGS diff --git a/SRC/test-echoping-tos b/SRC/test-echoping-tos index 2d6387a..1592e24 100755 --- a/SRC/test-echoping-tos +++ b/SRC/test-echoping-tos @@ -9,5 +9,8 @@ echo "On some systems, you may NEED to be root." ./echoping -P 0xa0 central.internatif.org +# IPTOS_THROUGHPUT +./echoping -P 0x08 central.internatif.org +