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
Unknown Object (File)
Sat, Jan 25, 7:28 PM
Unknown Object (File)
Mon, Jan 13, 3:05 AM
Unknown Object (File)
Jan 8 2025, 3:42 PM
Unknown Object (File)
Jan 4 2025, 9:45 AM
Unknown Object (File)
Jan 1 2025, 11:57 AM
Unknown Object (File)
Dec 31 2024, 12:19 PM
Unknown Object (File)
Dec 30 2024, 11:07 AM
Unknown Object (File)
Dec 29 2024, 12:32 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