Page MenuHomeFreeBSD

Add -z "TOS" option to ping6, to test DSCP/ECN values
ClosedPublic

Authored by rscheff on Sep 9 2020, 10:25 PM.
Tags
None
Referenced Files
F121830042: D26384.id76851.diff
Sun, Jun 29, 6:52 PM
Unknown Object (File)
Sat, Jun 28, 10:30 PM
Unknown Object (File)
Mon, Jun 23, 10:35 AM
Unknown Object (File)
Sat, Jun 21, 5:02 PM
Unknown Object (File)
Wed, Jun 18, 1:26 AM
Unknown Object (File)
Mon, Jun 16, 3:33 PM
Unknown Object (File)
May 28 2025, 12:55 AM
Unknown Object (File)
May 6 2025, 12:07 PM
Subscribers

Details

Summary

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.

Test Plan

Run "tcpdump -vvv -nn -i lo0 -xx" and verify, that
the ICMP6 request has the provided data for the traffic
class in the 5th and 6th octet, right after the IP
version "high nibble" (6) in the 5th octet.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable