]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add -z "TOS" option to ping6, to test DSCP/ECN values
authorRichard Scheffenegger <rscheff@FreeBSD.org>
Thu, 10 Sep 2020 00:50:18 +0000 (00:50 +0000)
committerRichard Scheffenegger <rscheff@FreeBSD.org>
Thu, 10 Sep 2020 00:50:18 +0000 (00:50 +0000)
commit6034024daddb87df2e7a9880070e6c76ac6a1223
tree64262ef599bbd2506c7da76ef737bfb9f24f5437
parente74e64a1912707c2f4b5ab7b03d424834aacfc56
Add -z "TOS" option to ping6, to test DSCP/ECN values

ping has the option to add the (deprecated) TOS byte
using the -z option. Adding the same option, with the
same (deprecated) Traffic Class Byte (nowadays actually
DSCP and ECN fields) to ping6 to validate proper QoS
processing in network switches.

Reviewed by: tuexen
MFC after: 2 weeks
Sponsored by: NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D26384
sbin/ping6/ping6.8
sbin/ping6/ping6.c