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)
Wed, Jan 8, 3:42 PM
Unknown Object (File)
Sat, Jan 4, 9:45 AM
Unknown Object (File)
Wed, Jan 1, 11:57 AM
Unknown Object (File)
Tue, Dec 31, 12:19 PM
Unknown Object (File)
Mon, Dec 30, 11:07 AM
Unknown Object (File)
Sun, Dec 29, 12:32 PM
Unknown Object (File)
Sat, Dec 28, 11:46 AM
Unknown Object (File)
Sat, Dec 28, 12:01 AM
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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 33476
Build 30752: arc lint + arc unit