mirror of
https://framagit.org/bortzmeyer/echoping
synced 2024-11-03 03:40:33 +00:00
better documentation of TOS options
This commit is contained in:
parent
44f05820ea
commit
711876d25d
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user