better documentation of TOS options

This commit is contained in:
Stephane Bortzmeyer 2001-03-17 20:49:24 +00:00
parent 44f05820ea
commit 711876d25d
2 changed files with 11 additions and 2 deletions

View File

@ -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

View File

@ -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