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)
Feb 5 2024, 5:12 PM
Unknown Object (File)
Jan 30 2024, 2:43 PM
Unknown Object (File)
Jan 29 2024, 7:18 PM
Unknown Object (File)
Jan 15 2024, 5:21 PM
Unknown Object (File)
Dec 23 2023, 12:09 AM
Unknown Object (File)
Dec 21 2023, 9:46 AM
Unknown Object (File)
Dec 15 2023, 11:54 AM
Unknown Object (File)
Nov 10 2023, 8:33 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

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